|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.runtime.reflect.FieldSignatureImpl
public class FieldSignatureImpl
| Method Summary | |
|---|---|
protected java.lang.String |
createToString(org.aspectj.runtime.reflect.StringMaker sm)
|
java.lang.Class |
getDeclaringType()
Returns a java.lang.Class object representing the class,
interface, or aspect that declared this member. |
java.lang.String |
getDeclaringTypeName()
Returns the fully-qualified name of the declaring type. |
java.lang.reflect.Field |
getField()
|
java.lang.Class |
getFieldType()
|
int |
getModifiers()
Returns the modifiers on this signature represented as an int. |
java.lang.String |
getName()
Returns the identifier part of this signature. |
void |
setLookupClassLoader(java.lang.ClassLoader loader)
|
java.lang.String |
toLongString()
Returns an extended string representation of this signature. |
java.lang.String |
toShortString()
Returns an abbreviated string representation of this signature. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.aspectj.lang.Signature |
|---|
getDeclaringType, getDeclaringTypeName, getModifiers, getName, toLongString, toShortString, toString |
| Method Detail |
|---|
public java.lang.Class getFieldType()
getFieldType in interface FieldSignatureprotected java.lang.String createToString(org.aspectj.runtime.reflect.StringMaker sm)
public java.lang.reflect.Field getField()
getField in interface FieldSignaturepublic final java.lang.String toString()
toString in interface SignaturetoString in class java.lang.Objectpublic final java.lang.String toShortString()
Signature
toShortString in interface Signaturepublic final java.lang.String toLongString()
Signature
toLongString in interface Signaturepublic int getModifiers()
Signaturejava.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());
getModifiers in interface SignatureMember.getModifiers(),
Modifierpublic java.lang.String getName()
Signature
getName in interface SignatureMember.getName()public java.lang.Class getDeclaringType()
SignatureReturns 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().
getDeclaringType in interface SignatureMember.getDeclaringClass()public java.lang.String getDeclaringTypeName()
Signature
getDeclaringTypeName in interface Signaturepublic void setLookupClassLoader(java.lang.ClassLoader loader)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||