Klasse ResolvedBinaryType

Alle implementierten Schnittstellen:
IAnnotatable, IJavaElement, IMember, IParent, ISourceManipulation, ISourceReference, IType, SuffixConstants, org.eclipse.core.runtime.IAdaptable

public class ResolvedBinaryType extends BinaryType
Handle representing a binary type that is resolved. The uniqueKey contains the genericTypeSignature of the resolved type. Use BindingKey to decode it.
  • Konstruktordetails

  • Methodendetails

    • getFullyQualifiedParameterizedName

      public String getFullyQualifiedParameterizedName() throws JavaModelException
      Beschreibung aus Schnittstelle kopiert: IType
      Returns this type's fully qualified name using a '.' enclosing type separator followed by its type parameters between angle brackets if it is a generic type. For example, "p.X<T>", "java.util.Map<java.lang.String, p.X>"
      Angegeben von:
      getFullyQualifiedParameterizedName in Schnittstelle IType
      Setzt außer Kraft:
      getFullyQualifiedParameterizedName in Klasse BinaryType
      Gibt zurück:
      the fully qualified parameterized representation of this type
      Löst aus:
      JavaModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
    • getKey

      public String getKey()
      Beschreibung aus Schnittstelle kopiert: IType
      Returns the binding key for this type only if the given type is resolved. A binding key is a key that uniquely identifies this type. It allows access to generic info for parameterized types.

      If the given type is not resolved, the returned key is simply the java element's key.

      Angegeben von:
      getKey in Schnittstelle IType
      Setzt außer Kraft:
      getKey in Klasse BinaryMember
      Gibt zurück:
      the binding key for this type
      Siehe auch:
    • getKey

      public String getKey(boolean forceOpen) throws JavaModelException
      Setzt außer Kraft:
      getKey in Klasse BinaryType
      Löst aus:
      JavaModelException
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.lookup.Binding#computeUniqueKey()
    • isResolved

      public boolean isResolved()
      Beschreibung aus Schnittstelle kopiert: IType
      Returns whether this type represents a resolved type. If a type is resolved, its key contains resolved information.
      Angegeben von:
      isResolved in Schnittstelle IType
      Setzt außer Kraft:
      isResolved in Klasse BinaryType
      Gibt zurück:
      whether this type represents a resolved type.
    • toStringInfo

      protected void toStringInfo(int tab, StringBuffer buffer, Object info, boolean showResolvedInfo)
      Beschreibung aus Klasse kopiert: JavaElement
      Debugging purposes
      Setzt außer Kraft:
      toStringInfo in Klasse BinaryType
      Parameter:
      showResolvedInfo - TODO
    • unresolved

      public JavaElement unresolved()
      Setzt außer Kraft:
      unresolved in Klasse JavaElement