Eclipse JDT
Release 3.1

org.eclipse.jdt.core.compiler
Interface ICompilationParticipantResult


public interface ICompilationParticipantResult


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(String[] typeNameDependencies)
          Record the fully-qualified type names of any new dependencies, each name is of the form 'p1.p2.A.B'.
 void recordNewProblems(IProblem[] newProblems)
          Record new problems to report against this compilationUnit.
 

Method Detail

getContents

public char[] getContents()
Returns the contents of the compilation unit.


getFile

public IFile getFile()
Returns the IFile representing the compilation unit.


hasAnnotations

public boolean hasAnnotations()
Returns whether the compilation unit contained any annotations when it was compiled. NOTE: Only valid during CompilationParticipant.processAnnotations(files)


recordAddedGeneratedFiles

public void recordAddedGeneratedFiles(IFile[] addedGeneratedFiles)
Record the added/changed generated files that need to be compiled.


recordDeletedGeneratedFiles

public void recordDeletedGeneratedFiles(IFile[] deletedGeneratedFiles)
Record the generated files that need to be deleted.


recordNewProblems

public void recordNewProblems(IProblem[] newProblems)
Record new problems to report against this compilationUnit.


recordDependencies

public void recordDependencies(String[] typeNameDependencies)
Record the fully-qualified type names of any new dependencies, each name is of the form 'p1.p2.A.B'.


Eclipse JDT
Release 3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.