Klasse NameEnvironmentAnswer

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer

public class NameEnvironmentAnswer extends Object
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • toString

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

      public AccessRestriction getAccessRestriction()
      Returns the associated access restriction, or null if none.
    • setBinaryType

      public void setBinaryType(IBinaryType newType)
    • getBinaryType

      public IBinaryType getBinaryType()
      Answer the resolved binary form for the type or null if the receiver represents a compilation unit or source type.
    • getCompilationUnit

      public ICompilationUnit getCompilationUnit()
      Answer the compilation unit or null if the receiver represents a binary or source type.
    • getExternalAnnotationPath

      public String getExternalAnnotationPath()
    • getSourceTypes

      public ISourceType[] getSourceTypes()
      Answer the unresolved source forms for the type or null if the receiver represents a compilation unit or binary type. Multiple source forms can be answered in case the originating compilation unit did contain several type at once. Then the first type is guaranteed to be the requested type.
    • getResolvedBinding

      public ReferenceBinding getResolvedBinding()
      Answer the resolved compiler binding that was late found during askForName().
    • isBinaryType

      public boolean isBinaryType()
      Answer whether the receiver contains the resolved binary form of the type.
    • isCompilationUnit

      public boolean isCompilationUnit()
      Answer whether the receiver contains the compilation unit which defines the type.
    • isSourceType

      public boolean isSourceType()
      Answer whether the receiver contains the unresolved source form of the type.
    • isResolvedBinding

      public boolean isResolvedBinding()
      Answer whether the receiver contains the resolved compiler binding of the type.
    • ignoreIfBetter

      public boolean ignoreIfBetter()
    • moduleName

      public char[] moduleName()
      Name of the module to which the CU in this answer is associated. null when associated to the unnamed module.
      Gibt zurück:
      module name or null
    • isBetter

      public boolean isBetter(NameEnvironmentAnswer otherAnswer)