Method Summary |
|
native public static Annotation[] | getDeclaredAnnotations(long id) This method satisfies the requirements of the specification for the
Field.getDeclaredAnnotations Field.getDeclaredAnnotations() ,
Method.getDeclaredAnnotations Method.getDeclaredAnnotations() ,
Constructor.getDeclaredAnnotationsConstructor.getDeclaredAnnotations() methods.
Parameters: id - an identifier of the caller (Field, or Method,or Constructor type). |
native public static Annotation[] | getDeclaredAnnotations(Class clss) This method satisfies the requirements of the specification for the
Class.getDeclaredAnnotations Class.getDeclaredAnnotations() . |
native public static Object | getDefaultValue(long id) This method satisfies the requirements of the specification for the
Method.getDefaultValue Method.getDefaultValue() method. |
native public static Annotation[][] | getParameterAnnotations(long id) This method satisfies the requirements of the specification for the
Method.getParameterAnnotations Method.getParameterAnnotations() and
Constructor.getParameterAnnotations Constructor.getParameterAnnotations() methods.
Parameters: id - an identifier of the caller (annotated element of the Method or Constructor type) class. |
native public static String | getSignature(long id) This method returns the String representation of a Signature
attribute corresponding to
Method ,
Constructor
or
Field object declaration.
Parameters: id - an identifier of a reflection member. |
native public static String | getSignature(Class cls) This method returns the String representation of a Signature
attribute corresponding to
Class object declaration.
Parameters: cls - a class to be reflected. |