|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.core.compiler.BuildContext
org.aspectj.org.eclipse.jdt.internal.core.builder.CompilationParticipantResult
public class CompilationParticipantResult
| Field Summary | |
|---|---|
protected IFile[] |
addedFiles
|
protected IFile[] |
deletedFiles
|
protected java.lang.String[] |
dependencies
|
protected boolean |
hasAnnotations
|
protected CategorizedProblem[] |
problems
|
protected SourceFile |
sourceFile
|
| Constructor Summary | |
|---|---|
protected |
CompilationParticipantResult(SourceFile sourceFile)
|
| Method Summary | |
|---|---|
char[] |
getContents()
Returns the contents of the compilation unit. |
IFile |
getFile()
Returns the IFile representing the compilation unit. |
boolean |
hasAnnotations()
Returns whether the compilation unit contained any annotations when it was compiled. |
void |
recordAddedGeneratedFiles(IFile[] addedGeneratedFiles)
Record the added/changed generated files that need to be compiled. |
void |
recordDeletedGeneratedFiles(IFile[] deletedGeneratedFiles)
Record the generated files that need to be deleted. |
void |
recordDependencies(java.lang.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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SourceFile sourceFile
protected boolean hasAnnotations
protected IFile[] addedFiles
protected IFile[] deletedFiles
protected CategorizedProblem[] problems
protected java.lang.String[] dependencies
| Constructor Detail |
|---|
protected CompilationParticipantResult(SourceFile sourceFile)
| Method Detail |
|---|
public char[] getContents()
getContents in class BuildContextpublic IFile getFile()
IFile representing the compilation unit.
getFile in class BuildContextIFile representing the compilation unitpublic boolean hasAnnotations()
CompilationParticipant.processAnnotations(BuildContext[]).
hasAnnotations in class BuildContextpublic void recordAddedGeneratedFiles(IFile[] addedGeneratedFiles)
recordAddedGeneratedFiles in class BuildContextaddedGeneratedFiles - the added/changed filespublic void recordDeletedGeneratedFiles(IFile[] deletedGeneratedFiles)
recordDeletedGeneratedFiles in class BuildContextdeletedGeneratedFiles - the files that need to be deletedpublic void recordDependencies(java.lang.String[] typeNameDependencies)
recordDependencies in class BuildContexttypeNameDependencies - the fully-qualified type names of new dependenciespublic void recordNewProblems(CategorizedProblem[] newProblems)
recordNewProblems in class BuildContextnewProblems - the problems to reportpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||