Klasse StructuralPropertyDescriptor

java.lang.Object
org.aspectj.org.eclipse.jdt.core.dom.StructuralPropertyDescriptor
Bekannte direkte Unterklassen:
ChildListPropertyDescriptor, ChildPropertyDescriptor, SimplePropertyDescriptor

public abstract class StructuralPropertyDescriptor extends Object
Abstract base class for property descriptors of AST nodes. There are three kinds of properties:
Seit:
3.0
  • Methodendetails

    • getId

      public final String getId()
      Returns the id of this property.
      Gibt zurück:
      the property id
    • getNodeClass

      public final Class getNodeClass()
      Returns the AST node type that owns this property.

      For example, for all properties of the node type TypeDeclaration, this method returns TypeDeclaration.class.

      Gibt zurück:
      the node type that owns this property
    • isSimpleProperty

      public final boolean isSimpleProperty()
      Returns whether this property is a simple property (instance of SimplePropertyDescriptor.
      Gibt zurück:
      true if this is a simple property, and false otherwise
    • isChildProperty

      public final boolean isChildProperty()
      Returns whether this property is a child property (instance of ChildPropertyDescriptor.
      Gibt zurück:
      true if this is a child property, and false otherwise
    • isChildListProperty

      public final boolean isChildListProperty()
      Returns whether this property is a child list property (instance of ChildListPropertyDescriptor.
      Gibt zurück:
      true if this is a child list property, and false otherwise
    • toString

      public String toString()
      Returns a string suitable for debug purposes.
      Setzt außer Kraft:
      toString in Klasse Object
      Gibt zurück: