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
ConstructorsConstructorDescriptionAjCompilerAdapter(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 TypeMethodDescriptionvoidacceptResult(CompilationResult result) voidvoidafterCompiling(CompilationUnitDeclaration[] units) voidvoidvoidafterProcessing(CompilationUnitDeclaration unit, int unitIndex) voidvoidvoidbeforeCompiling(ICompilationUnit[] sourceUnits) voidvoidvoid
-
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:
beforeCompilingin interfaceICompilerAdapter- Specified by:
beforeCompilingin classAbstractCompilerAdapter
-
beforeProcessing
- Specified by:
beforeProcessingin interfaceICompilerAdapter- Specified by:
beforeProcessingin classAbstractCompilerAdapter
-
beforeResolving
- Specified by:
beforeResolvingin interfaceICompilerAdapter- Specified by:
beforeResolvingin classAbstractCompilerAdapter
-
afterResolving
- Specified by:
afterResolvingin interfaceICompilerAdapter- Specified by:
afterResolvingin classAbstractCompilerAdapter
-
beforeAnalysing
- Specified by:
beforeAnalysingin interfaceICompilerAdapter- Specified by:
beforeAnalysingin classAbstractCompilerAdapter
-
afterAnalysing
- Specified by:
afterAnalysingin interfaceICompilerAdapter- Specified by:
afterAnalysingin classAbstractCompilerAdapter
-
beforeGenerating
- Specified by:
beforeGeneratingin interfaceICompilerAdapter- Specified by:
beforeGeneratingin classAbstractCompilerAdapter
-
afterGenerating
- Specified by:
afterGeneratingin interfaceICompilerAdapter- Specified by:
afterGeneratingin classAbstractCompilerAdapter
-
afterCompiling
- Specified by:
afterCompilingin interfaceICompilerAdapter- Specified by:
afterCompilingin classAbstractCompilerAdapter
-
afterProcessing
- Specified by:
afterProcessingin interfaceICompilerAdapter- Specified by:
afterProcessingin classAbstractCompilerAdapter
-
acceptResult
- Specified by:
acceptResultin classAbstractCompilerAdapter
-
afterDietParsing
- Specified by:
afterDietParsingin interfaceICompilerAdapter- Specified by:
afterDietParsingin classAbstractCompilerAdapter
-
getResultsPendingWeave
- Specified by:
getResultsPendingWeavein classAbstractCompilerAdapter
-