public class AjCompilerAdapter extends AbstractCompilerAdapter
| Constructor and Description |
|---|
AjCompilerAdapter(Compiler compiler,
boolean isBatchCompile,
BcelWorld world,
BcelWeaver weaver,
EclipseFactory eFactory,
IIntermediateResultsRequestor intRequestor,
IProgressListener progressListener,
IOutputClassFileNameProvider outputFileNameProvider,
IBinarySourceProvider binarySourceProvider,
java.util.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptResult(CompilationResult result) |
void |
afterAnalysing(CompilationUnitDeclaration unit) |
void |
afterCompiling(CompilationUnitDeclaration[] units) |
void |
afterDietParsing(CompilationUnitDeclaration[] units) |
void |
afterGenerating(CompilationUnitDeclaration unit) |
void |
afterProcessing(CompilationUnitDeclaration unit,
int unitIndex) |
void |
afterResolving(CompilationUnitDeclaration unit) |
void |
beforeAnalysing(CompilationUnitDeclaration unit) |
void |
beforeCompiling(ICompilationUnit[] sourceUnits) |
void |
beforeGenerating(CompilationUnitDeclaration unit) |
void |
beforeProcessing(CompilationUnitDeclaration unit) |
void |
beforeResolving(CompilationUnitDeclaration unit) |
java.util.List |
getResultsPendingWeave() |
public AjCompilerAdapter(Compiler compiler, boolean isBatchCompile, BcelWorld world, BcelWeaver weaver, EclipseFactory eFactory, IIntermediateResultsRequestor intRequestor, IProgressListener progressListener, IOutputClassFileNameProvider outputFileNameProvider, IBinarySourceProvider binarySourceProvider, java.util.Map fullBinarySourceEntries, boolean isXterminateAfterCompilation, boolean proceedOnError, boolean noAtAspectJProcessing, boolean reflectable, AjState incrementalCompilationState)
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 resultsbinarySourceEntries - binary source that we didn't compile, but that we need to weaveresultSetForFullWeave - 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.public void beforeCompiling(ICompilationUnit[] sourceUnits)
beforeCompiling in interface ICompilerAdapterbeforeCompiling in class AbstractCompilerAdapterpublic void beforeProcessing(CompilationUnitDeclaration unit)
beforeProcessing in interface ICompilerAdapterbeforeProcessing in class AbstractCompilerAdapterpublic void beforeResolving(CompilationUnitDeclaration unit)
beforeResolving in interface ICompilerAdapterbeforeResolving in class AbstractCompilerAdapterpublic void afterResolving(CompilationUnitDeclaration unit)
afterResolving in interface ICompilerAdapterafterResolving in class AbstractCompilerAdapterpublic void beforeAnalysing(CompilationUnitDeclaration unit)
beforeAnalysing in interface ICompilerAdapterbeforeAnalysing in class AbstractCompilerAdapterpublic void afterAnalysing(CompilationUnitDeclaration unit)
afterAnalysing in interface ICompilerAdapterafterAnalysing in class AbstractCompilerAdapterpublic void beforeGenerating(CompilationUnitDeclaration unit)
beforeGenerating in interface ICompilerAdapterbeforeGenerating in class AbstractCompilerAdapterpublic void afterGenerating(CompilationUnitDeclaration unit)
afterGenerating in interface ICompilerAdapterafterGenerating in class AbstractCompilerAdapterpublic void afterCompiling(CompilationUnitDeclaration[] units)
afterCompiling in interface ICompilerAdapterafterCompiling in class AbstractCompilerAdapterpublic void afterProcessing(CompilationUnitDeclaration unit, int unitIndex)
afterProcessing in interface ICompilerAdapterafterProcessing in class AbstractCompilerAdapterpublic void acceptResult(CompilationResult result)
acceptResult in class AbstractCompilerAdapterpublic void afterDietParsing(CompilationUnitDeclaration[] units)
afterDietParsing in interface ICompilerAdapterafterDietParsing in class AbstractCompilerAdapterpublic java.util.List getResultsPendingWeave()
getResultsPendingWeave in class AbstractCompilerAdapter