Package org.aspectj.runtime.reflect
Klasse FieldSignatureImpl
java.lang.Object
org.aspectj.runtime.reflect.FieldSignatureImpl
- Alle implementierten Schnittstellen:
FieldSignature,MemberSignature,Signature
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected StringcreateToString(org.aspectj.runtime.reflect.StringMaker sm) Returns ajava.lang.Classobject representing the class, interface, or aspect that declared this member.This is equivalent to calling getDeclaringType().getName(), but caches the result for greater efficiency.getField()intReturns the modifiers on this signature represented as an int.getName()voidsetLookupClassLoader(ClassLoader loader) final Stringfinal Stringfinal StringtoString()Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.lang.Signature
getDeclaringType, getDeclaringTypeName, getModifiers, getName, toLongString, toShortString, toString
-
Methodendetails
-
getFieldType
- Angegeben von:
getFieldTypein SchnittstelleFieldSignature
-
createToString
-
getField
- Angegeben von:
getFieldin SchnittstelleFieldSignature
-
toString
-
toShortString
- Angegeben von:
toShortStringin SchnittstelleSignature- Gibt zurück:
- an abbreviated string representation of this signature.
-
toLongString
- Angegeben von:
toLongStringin SchnittstelleSignature- Gibt zurück:
- an extended string representation of this signature.
-
getModifiers
public int getModifiers()Beschreibung aus Schnittstelle kopiert:SignatureReturns the modifiers on this signature represented as an int. Use the constants and helper methods defined onjava.lang.reflect.Modifierto 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:
getModifiersin SchnittstelleSignature- Gibt zurück:
- the modifiers on this signature represented as an int
- Siehe auch:
-
getName
-
getDeclaringType
Beschreibung aus Schnittstelle kopiert:SignatureReturns a
java.lang.Classobject 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. UseSourceLocation.getWithinType()to get the type in which the declaration occurs lexically.For consistency with
java.lang.reflect.Member, this method should have been namedgetDeclaringClass().- Angegeben von:
getDeclaringTypein SchnittstelleSignature- Gibt zurück:
- the class, interface or aspect that declared this member
- Siehe auch:
-
getDeclaringTypeName
Beschreibung aus Schnittstelle kopiert:SignatureThis is equivalent to calling getDeclaringType().getName(), but caches the result for greater efficiency.- Angegeben von:
getDeclaringTypeNamein SchnittstelleSignature- Gibt zurück:
- the fully qualified name of the declaring type
-
setLookupClassLoader
-