Klasse ResolvedSourceField

Alle implementierten Schnittstellen:
IAnnotatable, IField, IJavaElement, IMember, IParent, ISourceManipulation, ISourceReference, org.eclipse.core.runtime.IAdaptable
Bekannte direkte Unterklassen:
AssistSourceField

public class ResolvedSourceField extends SourceField
Handle representing a source field that is resolved. The uniqueKey contains the genericSignature of the resolved field. Use BindingKey to decode it.
  • Konstruktordetails

  • Methodendetails

    • getKey

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

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

      Angegeben von:
      getKey in Schnittstelle IField
      Setzt außer Kraft:
      getKey in Klasse SourceField
      Gibt zurück:
      the binding key for this field
      Siehe auch:
    • isResolved

      public boolean isResolved()
      Beschreibung aus Schnittstelle kopiert: IField
      Returns whether this field represents a resolved field. If a field is resolved, its key contains resolved information.
      Angegeben von:
      isResolved in Schnittstelle IField
      Setzt außer Kraft:
      isResolved in Klasse SourceField
      Gibt zurück:
      whether this field represents a resolved field.
    • 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 SourceField
      Parameter:
      showResolvedInfo - TODO
    • unresolved

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