|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.attribdef.definition.attribute.Attributes
Retrieves attributes on class, method and field level Based on code from the Attrib4j project by Mark Pollack and Ted Neward (http://attrib4j.sourceforge.net/).
Constructor Summary | |
Attributes()
|
Method Summary | |
static java.lang.Object[] |
getAttributes(java.lang.Class klass)
Return the list (possibly empty) of custom attributes associated with the class "klass". |
static java.lang.Object[] |
getAttributes(java.lang.reflect.Field field)
Return the list (possibly empty) of custom attributes associated with the field. |
static java.lang.Object[] |
getAttributes(java.lang.reflect.Method method)
Return all the attributes associated with the given method. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Attributes()
Method Detail |
public static java.lang.Object[] getAttributes(java.lang.Class klass)
klass
- The java.lang.Class object to find the attributes on.
public static java.lang.Object[] getAttributes(java.lang.reflect.Method method)
method
- The java.lang.reflect.Method describing the method.
public static java.lang.Object[] getAttributes(java.lang.reflect.Field field)
field
- The java.lang.reflect.Field object to find the attributes on.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |