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 String
createToString
(org.aspectj.runtime.reflect.StringMaker sm) Returns ajava.lang.Class
object 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()
int
Returns the modifiers on this signature represented as an int.getName()
void
setLookupClassLoader
(ClassLoader loader) final String
final String
final String
toString()
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.lang.Signature
getDeclaringType, getDeclaringTypeName, getModifiers, getName, toLongString, toShortString, toString
-
Methodendetails
-
getFieldType
- Angegeben von:
getFieldType
in SchnittstelleFieldSignature
-
createToString
-
getField
- Angegeben von:
getField
in SchnittstelleFieldSignature
-
toString
-
toShortString
- Angegeben von:
toShortString
in SchnittstelleSignature
- Gibt zurück:
- an abbreviated string representation of this signature.
-
toLongString
- Angegeben von:
toLongString
in SchnittstelleSignature
- 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 onjava.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 SchnittstelleSignature
- Gibt zurück:
- the modifiers on this signature represented as an int
- Siehe auch:
-
getName
-
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. 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:
getDeclaringType
in SchnittstelleSignature
- Gibt zurück:
- the class, interface or aspect that declared this member
- Siehe auch:
-
getDeclaringTypeName
Beschreibung aus Schnittstelle kopiert:Signature
This is equivalent to calling getDeclaringType().getName(), but caches the result for greater efficiency.- Angegeben von:
getDeclaringTypeName
in SchnittstelleSignature
- Gibt zurück:
- the fully qualified name of the declaring type
-
setLookupClassLoader
-