List of usage examples for org.eclipse.jdt.internal.compiler ASTVisitor subclass-usage
From source file ch.uzh.ifi.seal.changedistiller.ast.java.JavaDeclarationConverter.java
/**
* Visitor to generate an intermediate tree (general, rooted, labeled, valued tree) out of a field, class, or method
* declaration.
*
* @author Beat Fluri
*
From source file ch.uzh.ifi.seal.changedistiller.ast.java.JavaMethodBodyConverter.java
/**
* Visitor to generate an intermediate tree (general, rooted, labeled, valued tree) out of a method body.
*
* @author Beat Fluri, Giacomo Ghezzi
*
*/
From source file ch.uzh.ifi.seal.changedistiller.structuredifferencing.java.JavaStructureTreeBuilder.java
/** * Creates a tree of {@link JavaStructureNode}s. * * @author Beat Fluri */ public class JavaStructureTreeBuilder extends ASTVisitor {
From source file com.android.build.gradle.tasks.annotations.TypedefCollector.java
/** Gathers information about typedefs (@IntDef and @StringDef */ public class TypedefCollector extends ASTVisitor { private Map<String, List<Annotation>> mMap = Maps.newHashMap(); private final boolean mRequireHide; private final boolean mRequireSourceRetention;
From source file com.codenvy.ide.ext.java.server.internal.core.search.matching.MemberDeclarationVisitor.java
/**
* Specific visitor of field or method declaration which can identify and store
* the local and other elements of one or several matching nodes.
* <p>
* This visitor can also peek up local or anonymous type declaration and restart
* a new {@link MatchLocator} traverse on this type.
From source file com.google.gwt.dev.jdt.FindDeferredBindingSitesVisitor.java
/**
* Walks a
* {@link org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration} to
* find <code>GWT.create()</code> class so that we can eagerly complain about
* deferred binding problems.
*/
From source file com.google.gwt.dev.jdt.SafeASTVisitor.java
/** * Avoids visiting invalid local types due to compile errors or unreachability. */ public class SafeASTVisitor extends ASTVisitor { @Override
From source file com.google.gwt.dev.jdt.TypeRefVisitor.java
/** * Walks the AST to determine every location from which a type is referenced. */ public abstract class TypeRefVisitor extends ASTVisitor { private final CompilationUnitDeclaration cud;
From source file lombok.eclipse.handlers.replace.ReplaceVisitor.java
@RequiredArgsConstructor(access = AccessLevel.PROTECTED) public abstract class ReplaceVisitor<NODE_TYPE extends ASTNode> extends ASTVisitor { private final EclipseMethod method; private final lombok.ast.Statement<?> replacement; public void visit(final ASTNode astNode) {
From source file lombok.eclipse.handlers.SetGeneratedByVisitor.java
public final class SetGeneratedByVisitor extends ASTVisitor { private static final long INT_TO_LONG_MASK = 0x00000000FFFFFFFFL; private final ASTNode source; private final int sourceStart; private final int sourceEnd;