java - NodeFinder equivalent in org.eclipse.jdt.internal.compiler.ast? -


there nodefinder in org.eclipse.jdt.core.dom can find astnode in given source code range. however, using library has ecj.jar java compiler. package org.eclipse.jdt.internal.compiler.ast in ecj looks similar org.eclipse.jdt.core.dom, don't know how astnode in source range. can't find documentation/source code ecj.jar. google search either "ecj" or "eclipse compiler java" directed me eclipse jdt core page, doesn't have doc org.eclipse.jdt.internal.compiler.ast. help?

also, curious why eclipse has 2 java compilers, confuse me lot.

it turned out writing nodefinder ecj not hard. wrote 1 , customized special case.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -