Klasse CompilationParticipantResult
java.lang.Object
org.aspectj.org.eclipse.jdt.core.compiler.BuildContext
org.aspectj.org.eclipse.jdt.internal.core.builder.CompilationParticipantResult
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected org.eclipse.core.resources.IFile[]
protected org.eclipse.core.resources.IFile[]
protected String[]
protected boolean
protected CategorizedProblem[]
protected SourceFile
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
CompilationParticipantResult
(SourceFile sourceFile, boolean isTestCode) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungchar[]
Returns the contents of the compilation unit.org.eclipse.core.resources.IFile
getFile()
Returns theIFile
representing the compilation unit.boolean
Returns whether the compilation unit contained any annotations when it was compiled.boolean
void
recordAddedGeneratedFiles
(org.eclipse.core.resources.IFile[] addedGeneratedFiles) Record the added/changed generated files that need to be compiled.void
recordDeletedGeneratedFiles
(org.eclipse.core.resources.IFile[] deletedGeneratedFiles) Record the generated files that need to be deleted.void
recordDependencies
(String[] typeNameDependencies) Record the fully-qualified type names of any new dependencies, each name is of the form "p1.p2.A.B".void
recordNewProblems
(CategorizedProblem[] newProblems) Record new problems to report against this compilationUnit.toString()
-
Felddetails
-
sourceFile
-
hasAnnotations
protected boolean hasAnnotations -
addedFiles
protected org.eclipse.core.resources.IFile[] addedFiles -
deletedFiles
protected org.eclipse.core.resources.IFile[] deletedFiles -
problems
-
dependencies
-
-
Konstruktordetails
-
CompilationParticipantResult
-
-
Methodendetails
-
getContents
public char[] getContents()Returns the contents of the compilation unit.- Setzt außer Kraft:
getContents
in KlasseBuildContext
- Gibt zurück:
- the contents of the compilation unit
-
getFile
public org.eclipse.core.resources.IFile getFile()Returns theIFile
representing the compilation unit.- Setzt außer Kraft:
getFile
in KlasseBuildContext
- Gibt zurück:
- the
IFile
representing the compilation unit
-
hasAnnotations
public boolean hasAnnotations()Returns whether the compilation unit contained any annotations when it was compiled. NOTE: This is only valid duringCompilationParticipant.processAnnotations(BuildContext[])
.- Setzt außer Kraft:
hasAnnotations
in KlasseBuildContext
- Gibt zurück:
- whether the compilation unit contained any annotations when it was compiled
-
recordAddedGeneratedFiles
public void recordAddedGeneratedFiles(org.eclipse.core.resources.IFile[] addedGeneratedFiles) Record the added/changed generated files that need to be compiled.- Setzt außer Kraft:
recordAddedGeneratedFiles
in KlasseBuildContext
- Parameter:
addedGeneratedFiles
- the added/changed files
-
recordDeletedGeneratedFiles
public void recordDeletedGeneratedFiles(org.eclipse.core.resources.IFile[] deletedGeneratedFiles) Record the generated files that need to be deleted.- Setzt außer Kraft:
recordDeletedGeneratedFiles
in KlasseBuildContext
- Parameter:
deletedGeneratedFiles
- the files that need to be deleted
-
recordDependencies
Record the fully-qualified type names of any new dependencies, each name is of the form "p1.p2.A.B".- Setzt außer Kraft:
recordDependencies
in KlasseBuildContext
- Parameter:
typeNameDependencies
- the fully-qualified type names of new dependencies
-
recordNewProblems
Record new problems to report against this compilationUnit. Markers are persisted for these problems only for the declared managed marker type (see the 'compilationParticipant' extension point).- Setzt außer Kraft:
recordNewProblems
in KlasseBuildContext
- Parameter:
newProblems
- the problems to report
-
toString
-
isTestCode
public boolean isTestCode()- Setzt außer Kraft:
isTestCode
in KlasseBuildContext
-