Bekannte direkte Unterklassen:
CaptureBinding18

public class CaptureBinding extends TypeVariableBinding
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • 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 TypeVariableBinding
    • computeUniqueKey

      public char[] computeUniqueKey(boolean isLeaf)
      Beschreibung aus Klasse kopiert: ReferenceBinding
      p.XUngültige Eingabe: "<"T extends Y Ungültige Eingabe: "&" I, U extends Y> {} -> Lp/XUngültige Eingabe: "<"TT;TU;>;
      Setzt außer Kraft:
      computeUniqueKey in Klasse TypeVariableBinding
    • debugName

      public String debugName()
      Setzt außer Kraft:
      debugName in Klasse TypeVariableBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#debugName()
    • genericTypeSignature

      public char[] genericTypeSignature()
      Beschreibung aus Klasse kopiert: TypeVariableBinding
      T::Ljava/util/Map;:Ljava/io/Serializable; T:LYUngültige Eingabe: "<"TT;>
      Setzt außer Kraft:
      genericTypeSignature in Klasse TypeVariableBinding
    • initializeBounds

      public void initializeBounds(Scope scope, ParameterizedTypeBinding capturedParameterizedType)
      Initialize capture bounds using substituted supertypes e.g. given XUngültige Eingabe: "<"U, V extends XUngültige Eingabe: "<"U, V>>, capture(XUngültige Eingabe: "<"E,?>) = XUngültige Eingabe: "<"E,capture>, where capture extends XUngültige Eingabe: "<"E,capture>
    • upwardsProjection

      public ReferenceBinding upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables)
      Beschreibung aus Klasse kopiert: ReferenceBinding
      Perform an upwards type projection as per JLS 4.10.5
      Setzt außer Kraft:
      upwardsProjection in Klasse TypeVariableBinding
      Parameter:
      scope - Relevant scope for evaluating type projection
      mentionedTypeVariables - Filter for mentioned type variabled
    • upperBoundForProjection

      public TypeBinding upperBoundForProjection()
    • isCapture

      public boolean isCapture()
      Beschreibung aus Klasse kopiert: TypeBinding
      Returns true if the type is the capture of some wildcard
      Setzt außer Kraft:
      isCapture in Klasse TypeBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#isCapture()
    • isEquivalentTo

      public boolean isEquivalentTo(TypeBinding otherType)
      Beschreibung aus Klasse kopiert: TypeBinding
      Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.
      Setzt außer Kraft:
      isEquivalentTo in Klasse TypeBinding
      Siehe auch:
    • isProperType

      public boolean isProperType(boolean admitCapture18)
      Beschreibung aus Klasse kopiert: TypeBinding
      JLS8 Sect 18.1.1
      Setzt außer Kraft:
      isProperType in Klasse TypeVariableBinding
      Parameter:
      admitCapture18 - request if CaptureBinding18 shuld be considered as a proper type. If unsure say 'true', only in Scope.greaterLowerBound(TypeBinding[], Scope, LookupEnvironment) CaptureBinding18 has to be excluded to prevent an NPE on a branch that heuristically tries to avoid inconsistent intersections.
    • readableName

      public char[] readableName()
      Beschreibung aus Klasse kopiert: ReferenceBinding
      Answer the receiver's signature. NOTE: This method should only be used during/after code gen.
      Setzt außer Kraft:
      readableName in Klasse TypeVariableBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#readableName()
    • signableName

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

      public char[] shortReadableName()
      Setzt außer Kraft:
      shortReadableName in Klasse TypeVariableBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#shortReadableName()
    • nullAnnotatedReadableName

      public char[] nullAnnotatedReadableName(CompilerOptions options, boolean shortNames)
      Beschreibung aus Klasse kopiert: TypeBinding
      Answer a readable name (for error reporting) that includes nullness type annotations.
      Setzt außer Kraft:
      nullAnnotatedReadableName in Klasse TypeVariableBinding
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.TypeBinding#nullAnnotatedReadableName(CompilerOptions,boolean)
    • withoutToplevelNullAnnotation

      public TypeBinding withoutToplevelNullAnnotation()
      Beschreibung aus Klasse kopiert: TypeBinding
      Return this type minus its toplevel null annotations. Any annotations on type arguments or bounds are retained.
      Setzt außer Kraft:
      withoutToplevelNullAnnotation in Klasse TypeVariableBinding
    • setTypeAnnotations

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

      public TypeBinding uncapture(Scope scope)
      Beschreibung aus Klasse kopiert: TypeBinding
      Perform capture "deconversion" on a given type
      Setzt außer Kraft:
      uncapture in Klasse TypeBinding
    • downwardsProjection

      public ReferenceBinding downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables)
      Beschreibung aus Klasse kopiert: ReferenceBinding
      Perform a downwards type projection as per JLS 4.10.5
      Setzt außer Kraft:
      downwardsProjection in Klasse TypeVariableBinding
      Parameter:
      scope - Relevant scope for evaluating type projection
      mentionedTypeVariables - Filter for mentioned type variabled
    • getDerivedTypesForDeferredInitialization

      protected TypeBinding[] getDerivedTypesForDeferredInitialization()
      Setzt außer Kraft:
      getDerivedTypesForDeferredInitialization in Klasse TypeVariableBinding
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse TypeVariableBinding
      Siehe auch:
    • signature

      public char[] signature()
      Beschreibung aus Klasse kopiert: TypeBinding
      Answer the receiver classfile signature. Arrays Ungültige Eingabe: "&" base types do not distinguish between signature() Ungültige Eingabe: "&" constantPoolName(). NOTE: This method should only be used during/after code gen.
      Setzt außer Kraft:
      signature in Klasse ReferenceBinding