Bekannte direkte Unterklassen:
NullTypeBinding, VoidTypeBinding

public class BaseTypeBinding extends TypeBinding
  • Felddetails

    • CONVERSIONS

      public static final int[] CONVERSIONS
    • IDENTITY

      public static final int IDENTITY
      Siehe auch:
    • WIDENING

      public static final int WIDENING
      Siehe auch:
    • NARROWING

      public static final int NARROWING
      Siehe auch:
    • MAX_CONVERSIONS

      public static final int MAX_CONVERSIONS
      Siehe auch:
    • simpleName

      public char[] simpleName
  • Methodendetails

    • initializeConversions

      public static final int[] initializeConversions()
    • isNarrowing

      public static final boolean isNarrowing(int left, int right)
      Predicate telling whether "left" can store a "right" using some narrowing conversion (is left smaller than right)
      Parameter:
      left - - the target type to convert to
      right - - the actual type
      Gibt zurück:
      true if legal narrowing conversion
    • isWidening

      public static final boolean isWidening(int left, int right)
      Predicate telling whether "left" can store a "right" using some widening conversion (is left bigger than right)
      Parameter:
      left - - the target type to convert to
      right - - the actual type
      Gibt zurück:
      true if legal widening conversion
    • computeUniqueKey

      public char[] computeUniqueKey(boolean isLeaf)
      int -> I
      Setzt außer Kraft:
      computeUniqueKey in Klasse Binding
    • constantPoolName

      public char[] constantPoolName()
      Beschreibung aus Klasse kopiert: TypeBinding
      Answer the receiver's constant pool name. NOTE: This method should only be used during/after code gen. e.g. 'java/lang/Object'
      Angegeben von:
      constantPoolName in Klasse TypeBinding
    • clone

      public TypeBinding clone(TypeBinding enclosingType)
      Beschreibung aus Klasse kopiert: TypeBinding
      Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type. Parameters may not make sense for every type in the hierarchy, in which case they are silently ignored. A type may choose to retain a copy of the prototype for reference.
      Setzt außer Kraft:
      clone in Klasse TypeBinding
    • getPackage

      public PackageBinding getPackage()
      Angegeben von:
      getPackage in Klasse TypeBinding
    • isCompatibleWith

      public final boolean isCompatibleWith(TypeBinding right, Scope captureScope)
      Angegeben von:
      isCompatibleWith in Klasse TypeBinding
    • setTypeAnnotations

      public void setTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations)
      Setzt außer Kraft:
      setTypeAnnotations in Klasse TypeBinding
    • unannotated

      public TypeBinding unannotated()
      Beschreibung aus Klasse kopiert: TypeBinding
      Return this type minus its type annotations
      Setzt außer Kraft:
      unannotated in Klasse TypeBinding
    • isUncheckedException

      public boolean isUncheckedException(boolean includeSupertype)
      T_null is acting as an unchecked exception
      Setzt außer Kraft:
      isUncheckedException in Klasse TypeBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#isUncheckedException(boolean)
    • kind

      public int kind()
      Setzt außer Kraft:
      kind in Klasse TypeBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.Binding#kind()
    • qualifiedSourceName

      public char[] qualifiedSourceName()
      Beschreibung aus Klasse kopiert: TypeBinding
      Answer the source name for the type. In the case of member types, as the qualified name from its top level type. For example, for a member type N defined inside M Ungültige Eingabe: "&" A: "A.M.N".
      Angegeben von:
      qualifiedSourceName in Klasse TypeBinding
    • readableName

      public char[] readableName()
      Angegeben von:
      readableName in Klasse Binding
    • shortReadableName

      public char[] shortReadableName()
      Setzt außer Kraft:
      shortReadableName in Klasse Binding
    • sourceName

      public char[] sourceName()
      Angegeben von:
      sourceName in Klasse TypeBinding
    • toString

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