Class AccessForInlineVisitor
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.ASTVisitor
org.aspectj.ajdt.internal.compiler.ast.AccessForInlineVisitor
Walks the body of around advice
Makes sure that all member accesses are to public members. Will convert to use access methods when needed to ensure that. This
makes it much simpler (and more modular) to inline the body of an around.
??? constructors are handled different and require access to the target type. changes to
org.eclipse.jdt.internal.compiler.ast.AllocationExpression would be required to fix this issue.
- Author:
- Jim Hugunin
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAccessForInlineVisitor(AspectDeclaration inAspect, PrivilegedHandler handler)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endVisit(AllocationExpression send, BlockScope scope)
void
endVisit(AssertStatement assertStatement, BlockScope scope)
void
endVisit(ClassLiteralAccess classLiteral, BlockScope scope)
void
endVisit(FieldReference ref, BlockScope scope)
void
endVisit(MessageSend send, BlockScope scope)
void
endVisit(QualifiedNameReference ref, BlockScope scope)
void
endVisit(QualifiedTypeReference ref, BlockScope scope)
void
endVisit(SingleNameReference ref, BlockScope scope)
void
endVisit(SingleTypeReference ref, BlockScope scope)
boolean
visit(TypeDeclaration localTypeDeclaration, BlockScope scope)
Methods inherited from class 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, 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, visit, visit, visit, visit, visit, visit
-
Field Details
-
isInlinable
public boolean isInlinable
-
-
Constructor Details
-
AccessForInlineVisitor
-
-
Method Details
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
endVisit
- Overrides:
endVisit
in classASTVisitor
-
visit
- Overrides:
visit
in classASTVisitor
-