Klasse AsmHierarchyBuilder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.ASTVisitor
org.aspectj.ajdt.internal.core.builder.AsmHierarchyBuilder
At each iteration of
processCompilationUnit
the declarations for a particular compilation unit are added to the
hierarchy passed as a a parameter.
Clients who extend this class need to ensure that they do not override any of the existing behavior. If they do, the structure model will not be built properly and tools such as IDE structure views and ajdoc will fail.
Note: this class is not considered public API and the overridable methods are subject to change.
- Autor:
- Mik Kersten
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected AjBuildConfig
Reset for every compilation unit.protected AsmElementFormatter
protected ImportReference
protected Stack
<IProgramElement> Reset for every compilation unit. -
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
buildStructureForCompilationUnit
(CompilationUnitDeclaration cuDeclaration, AsmManager structureModel, AjBuildConfig buildConfig) void
endVisit
(ConstructorDeclaration constructorDeclaration, ClassScope scope) void
endVisit
(FieldDeclaration fieldDeclaration, MethodScope scope) void
endVisit
(ImportReference importRef, CompilationUnitScope scope) void
endVisit
(MethodDeclaration methodDeclaration, ClassScope scope) void
endVisit
(TypeDeclaration memberTypeDeclaration, BlockScope scope) void
endVisit
(TypeDeclaration memberTypeDeclaration, ClassScope scope) void
endVisit
(TypeDeclaration typeDeclaration, CompilationUnitScope scope) protected void
genBytecodeInfo
(MethodDeclaration methodDeclaration, IProgramElement peNode) protected String
generateJavadocComment
(ASTNode astNode) Checks if comments should be added to the model before generating.protected String
genSourceSignature
(FieldDeclaration fieldDeclaration) protected int
protected int
protected ISourceLocation
makeLocation
(ASTNode node) boolean
visit
(ConstructorDeclaration constructorDeclaration, ClassScope scope) boolean
visit
(FieldDeclaration fieldDeclaration, MethodScope scope) boolean
visit
(ImportReference importRef, CompilationUnitScope scope) boolean
visit
(Initializer initializer, MethodScope scope) boolean
visit
(MethodDeclaration methodDeclaration, ClassScope scope) boolean
visit
(TypeDeclaration memberTypeDeclaration, BlockScope scope) boolean
visit
(TypeDeclaration memberTypeDeclaration, ClassScope scope) boolean
visit
(TypeDeclaration typeDeclaration, CompilationUnitScope scope) Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.ASTVisitor
acceptProblem, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Felddetails
-
formatter
-
buildConfig
Reset for every compilation unit. -
stack
Reset for every compilation unit. -
packageDecl
-
-
Konstruktordetails
-
AsmHierarchyBuilder
public AsmHierarchyBuilder()
-
-
Methodendetails
-
buildStructureForCompilationUnit
public void buildStructureForCompilationUnit(CompilationUnitDeclaration cuDeclaration, AsmManager structureModel, AjBuildConfig buildConfig) - Parameter:
cuDeclaration
-structureModel
- hiearchy to add this unit's declarations tobuildConfig
-
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
genBytecodeInfo
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
generateJavadocComment
Checks if comments should be added to the model before generating. -
genSourceSignature
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
endVisit
- Setzt außer Kraft:
endVisit
in KlasseASTVisitor
-
visit
- Setzt außer Kraft:
visit
in KlasseASTVisitor
-
makeLocation
-
getStartLine
-
getEndLine
-