org.aspectj.ajdt.internal.compiler
Class AjCompilerAdapter
java.lang.Object
org.aspectj.ajdt.internal.compiler.AbstractCompilerAdapter
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter
- All Implemented Interfaces:
- ICompilerAdapter
public class AjCompilerAdapter
- extends AbstractCompilerAdapter
|
Constructor Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjCompilerAdapter
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)
- 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 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.
beforeCompiling
public void beforeCompiling(ICompilationUnit[] sourceUnits)
- Specified by:
beforeCompiling in interface ICompilerAdapter- Specified by:
beforeCompiling in class AbstractCompilerAdapter
beforeProcessing
public void beforeProcessing(CompilationUnitDeclaration unit)
- Specified by:
beforeProcessing in interface ICompilerAdapter- Specified by:
beforeProcessing in class AbstractCompilerAdapter
beforeResolving
public void beforeResolving(CompilationUnitDeclaration unit)
- Specified by:
beforeResolving in interface ICompilerAdapter- Specified by:
beforeResolving in class AbstractCompilerAdapter
afterResolving
public void afterResolving(CompilationUnitDeclaration unit)
- Specified by:
afterResolving in interface ICompilerAdapter- Specified by:
afterResolving in class AbstractCompilerAdapter
beforeAnalysing
public void beforeAnalysing(CompilationUnitDeclaration unit)
- Specified by:
beforeAnalysing in interface ICompilerAdapter- Specified by:
beforeAnalysing in class AbstractCompilerAdapter
afterAnalysing
public void afterAnalysing(CompilationUnitDeclaration unit)
- Specified by:
afterAnalysing in interface ICompilerAdapter- Specified by:
afterAnalysing in class AbstractCompilerAdapter
beforeGenerating
public void beforeGenerating(CompilationUnitDeclaration unit)
- Specified by:
beforeGenerating in interface ICompilerAdapter- Specified by:
beforeGenerating in class AbstractCompilerAdapter
afterGenerating
public void afterGenerating(CompilationUnitDeclaration unit)
- Specified by:
afterGenerating in interface ICompilerAdapter- Specified by:
afterGenerating in class AbstractCompilerAdapter
afterCompiling
public void afterCompiling(CompilationUnitDeclaration[] units)
- Specified by:
afterCompiling in interface ICompilerAdapter- Specified by:
afterCompiling in class AbstractCompilerAdapter
afterProcessing
public void afterProcessing(CompilationUnitDeclaration unit,
int unitIndex)
- Specified by:
afterProcessing in interface ICompilerAdapter- Specified by:
afterProcessing in class AbstractCompilerAdapter
acceptResult
public void acceptResult(CompilationResult result)
- Specified by:
acceptResult in class AbstractCompilerAdapter
afterDietParsing
public void afterDietParsing(CompilationUnitDeclaration[] units)
- Specified by:
afterDietParsing in interface ICompilerAdapter- Specified by:
afterDietParsing in class AbstractCompilerAdapter
getResultsPendingWeave
public java.util.List getResultsPendingWeave()
- Specified by:
getResultsPendingWeave in class AbstractCompilerAdapter