Klasse FieldSignatureImpl

java.lang.Object
org.aspectj.runtime.reflect.FieldSignatureImpl
Alle implementierten Schnittstellen:
FieldSignature, MemberSignature, Signature

public class FieldSignatureImpl extends Object implements FieldSignature
  • Methodendetails

    • getFieldType

      public Class getFieldType()
      Angegeben von:
      getFieldType in Schnittstelle FieldSignature
    • createToString

      protected String createToString(org.aspectj.runtime.reflect.StringMaker sm)
    • getField

      public Field getField()
      Angegeben von:
      getField in Schnittstelle FieldSignature
    • toString

      public final String toString()
      Angegeben von:
      toString in Schnittstelle Signature
      Setzt außer Kraft:
      toString in Klasse Object
    • toShortString

      public final String toShortString()
      Angegeben von:
      toShortString in Schnittstelle Signature
      Gibt zurück:
      an abbreviated string representation of this signature.
    • toLongString

      public final String toLongString()
      Angegeben von:
      toLongString in Schnittstelle Signature
      Gibt zurück:
      an extended string representation of this signature.
    • getModifiers

      public int getModifiers()
      Beschreibung aus Schnittstelle kopiert: Signature
      Returns the modifiers on this signature represented as an int. Use the constants and helper methods defined on java.lang.reflect.Modifier to manipulate this, i.e.
           // check if this signature is public
           java.lang.reflect.Modifier.isPublic(sig.getModifiers());
      
           // print out the modifiers
           java.lang.reflect.Modifier.toString(sig.getModifiers());
       
      Angegeben von:
      getModifiers in Schnittstelle Signature
      Gibt zurück:
      the modifiers on this signature represented as an int
      Siehe auch:
    • getName

      public String getName()
      Angegeben von:
      getName in Schnittstelle Signature
      Gibt zurück:
      the identifier part of this signature. For methods this will return the method name.
      Siehe auch:
    • getDeclaringType

      public Class getDeclaringType()
      Beschreibung aus Schnittstelle kopiert: Signature

      Returns a java.lang.Class object representing the class, interface, or aspect that declared this member. For intra-member declarations, this will be the type on which the member is declared, not the type where the declaration is lexically written. Use SourceLocation.getWithinType() to get the type in which the declaration occurs lexically.

      For consistency with java.lang.reflect.Member, this method should have been named getDeclaringClass().

      Angegeben von:
      getDeclaringType in Schnittstelle Signature
      Gibt zurück:
      the class, interface or aspect that declared this member
      Siehe auch:
    • getDeclaringTypeName

      public String getDeclaringTypeName()
      Beschreibung aus Schnittstelle kopiert: Signature
      This is equivalent to calling getDeclaringType().getName(), but caches the result for greater efficiency.
      Angegeben von:
      getDeclaringTypeName in Schnittstelle Signature
      Gibt zurück:
      the fully qualified name of the declaring type
    • setLookupClassLoader

      public void setLookupClassLoader(ClassLoader loader)