Klasse CompilationParticipantResult

java.lang.Object
org.aspectj.org.eclipse.jdt.core.compiler.BuildContext
org.aspectj.org.eclipse.jdt.internal.core.builder.CompilationParticipantResult

public class CompilationParticipantResult extends BuildContext
  • Felddetails

    • sourceFile

      protected SourceFile sourceFile
    • annotations

      protected AnnotationBinding[] annotations
    • addedFiles

      protected org.eclipse.core.resources.IFile[] addedFiles
    • deletedFiles

      protected org.eclipse.core.resources.IFile[] deletedFiles
    • problems

      protected CategorizedProblem[] problems
    • dependencies

      protected String[] dependencies
  • Konstruktordetails

    • CompilationParticipantResult

      protected CompilationParticipantResult(SourceFile sourceFile, boolean isTestCode)
  • Methodendetails

    • getContents

      public char[] getContents()
      Returns the contents of the compilation unit.
      Setzt außer Kraft:
      getContents in Klasse BuildContext
      Gibt zurück:
      the contents of the compilation unit
    • getFile

      public org.eclipse.core.resources.IFile getFile()
      Returns the IFile representing the compilation unit.
      Setzt außer Kraft:
      getFile in Klasse BuildContext
      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 during CompilationParticipant.processAnnotations(BuildContext[]).
      Setzt außer Kraft:
      hasAnnotations in Klasse BuildContext
      Gibt zurück:
      whether the compilation unit contained any annotations when it was compiled
    • hasAnnotations

      public boolean hasAnnotations(String fqn)
      Beschreibung aus Klasse kopiert: BuildContext
      Returns whether the compilation unit contained any annotations with a given type when it was compiled. NOTE: This is only valid during CompilationParticipant.processAnnotations(BuildContext[]).
      Setzt außer Kraft:
      hasAnnotations in Klasse BuildContext
      Parameter:
      fqn - the fully qualified name of the annotation to check for presence
      Gibt zurück:
      whether the compilation unit contained any annotations of the given type 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 Klasse BuildContext
      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 Klasse BuildContext
      Parameter:
      deletedGeneratedFiles - the files that need to be deleted
    • 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".
      Setzt außer Kraft:
      recordDependencies in Klasse BuildContext
      Parameter:
      typeNameDependencies - the fully-qualified type names of new dependencies
    • recordNewProblems

      public void recordNewProblems(CategorizedProblem[] newProblems)
      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 Klasse BuildContext
      Parameter:
      newProblems - the problems to report
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • isTestCode

      public boolean isTestCode()
      Setzt außer Kraft:
      isTestCode in Klasse BuildContext