
public abstract class MethodVisitor extends Object
| Constructor and Description |
|---|
MethodVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
String sourceMapPath)
Collect data about interesting methods in one compilation unit.
|
protected static String |
getMemberSignature(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Gets a unique name for this method, including its signature.
|
protected abstract boolean |
interestingMethod(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Provided by a subclass to return true if this method should be processed.
|
protected abstract void |
processMethod(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration typeDecl,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String enclosingType)
Provided by a subclass to process a method definition.
|
protected static String getMemberSignature(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
public void collect(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
String sourceMapPath)
protected abstract boolean interestingMethod(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
processMethod(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration, java.lang.String).method - protected abstract void processMethod(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration typeDecl,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String enclosingType)
interestingMethod(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration)
returns true.typeDecl - method - enclosingType - loc - Copyright © 2018. All rights reserved.