Class AjCompilerAdapter
java.lang.Object
org.aspectj.ajdt.internal.compiler.AbstractCompilerAdapter
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter
- All Implemented Interfaces:
ICompilerAdapter
- Author:
- colyer Adapts standard JDT Compiler to add in AspectJ specific behaviours.
-
Constructor Summary
ConstructorDescriptionAjCompilerAdapter
(Compiler compiler, boolean isBatchCompile, BcelWorld world, BcelWeaver weaver, EclipseFactory eFactory, IIntermediateResultsRequestor intRequestor, IProgressListener progressListener, IOutputClassFileNameProvider outputFileNameProvider, IBinarySourceProvider binarySourceProvider, Map fullBinarySourceEntries, boolean isXterminateAfterCompilation, boolean proceedOnError, boolean noAtAspectJProcessing, boolean reflectable, AjState incrementalCompilationState) Create an adapter, and tell it everything it needs to now to drive the AspectJ parts of a compile cycle. -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptResult
(CompilationResult result) void
void
afterCompiling
(CompilationUnitDeclaration[] units) void
void
void
afterProcessing
(CompilationUnitDeclaration unit, int unitIndex) void
void
void
beforeCompiling
(ICompilationUnit[] sourceUnits) void
void
void
-
Constructor Details
-
AjCompilerAdapter
public AjCompilerAdapter(Compiler compiler, boolean isBatchCompile, BcelWorld world, BcelWeaver weaver, EclipseFactory eFactory, IIntermediateResultsRequestor intRequestor, IProgressListener progressListener, IOutputClassFileNameProvider outputFileNameProvider, IBinarySourceProvider binarySourceProvider, Map fullBinarySourceEntries, boolean isXterminateAfterCompilation, boolean proceedOnError, boolean noAtAspectJProcessing, boolean reflectable, AjState incrementalCompilationState) Create an adapter, and tell it everything it needs to now to drive the AspectJ parts of a compile cycle.- Parameters:
compiler
- the JDT compiler that produces class files from sourceisBatchCompile
- true if this is a full build (non-incremental)world
- the bcelWorld used for type resolution during weavingweaver
- the weaverintRequestor
- recipient of interim compilation results from compiler (pre-weave)outputFileNameProvider
- implementor of a strategy providing output file names for resultsbinarySourceProvider
- binary source that we didn't compile, but that we need to weaveincrementalCompilationState
- if we are doing an incremental build, and the weaver determines that we need to weave the world, this is the set of intermediate results that will be passed to the weaver.
-
-
Method Details
-
beforeCompiling
- Specified by:
beforeCompiling
in interfaceICompilerAdapter
- Specified by:
beforeCompiling
in classAbstractCompilerAdapter
-
beforeProcessing
- Specified by:
beforeProcessing
in interfaceICompilerAdapter
- Specified by:
beforeProcessing
in classAbstractCompilerAdapter
-
beforeResolving
- Specified by:
beforeResolving
in interfaceICompilerAdapter
- Specified by:
beforeResolving
in classAbstractCompilerAdapter
-
afterResolving
- Specified by:
afterResolving
in interfaceICompilerAdapter
- Specified by:
afterResolving
in classAbstractCompilerAdapter
-
beforeAnalysing
- Specified by:
beforeAnalysing
in interfaceICompilerAdapter
- Specified by:
beforeAnalysing
in classAbstractCompilerAdapter
-
afterAnalysing
- Specified by:
afterAnalysing
in interfaceICompilerAdapter
- Specified by:
afterAnalysing
in classAbstractCompilerAdapter
-
beforeGenerating
- Specified by:
beforeGenerating
in interfaceICompilerAdapter
- Specified by:
beforeGenerating
in classAbstractCompilerAdapter
-
afterGenerating
- Specified by:
afterGenerating
in interfaceICompilerAdapter
- Specified by:
afterGenerating
in classAbstractCompilerAdapter
-
afterCompiling
- Specified by:
afterCompiling
in interfaceICompilerAdapter
- Specified by:
afterCompiling
in classAbstractCompilerAdapter
-
afterProcessing
- Specified by:
afterProcessing
in interfaceICompilerAdapter
- Specified by:
afterProcessing
in classAbstractCompilerAdapter
-
acceptResult
- Specified by:
acceptResult
in classAbstractCompilerAdapter
-
afterDietParsing
- Specified by:
afterDietParsing
in interfaceICompilerAdapter
- Specified by:
afterDietParsing
in classAbstractCompilerAdapter
-
getResultsPendingWeave
- Specified by:
getResultsPendingWeave
in classAbstractCompilerAdapter
-