public abstract class TypedAnnotationProxyBase extends AnnotationProxy
SINGLE_MEMBER_NAME| Modifier and Type | Method and Description |
|---|---|
JAnnotationValue[] |
getValues()
Deprecated.
Returns an untyped view of the annotation's values.
|
void |
setValue(String name,
Object value,
JClass type)
Deprecated.
Sets the member value by introspecting this class and looking for an
appropriate setter method.
|
getValue, initpublic void setValue(String name, Object value, JClass type)
Sets the member value by introspecting this class and looking for an appropriate setter method. For example, if the 'name' parameter is 'foo', a method called setFoo will be searched for. If more than one such method exists, normal java type widening will be performed to select the most appropriate match. Type conversion will be performed on the 'value' object as necessary.
Extending classes are free to override this method if different behavior is required.
setValue in class AnnotationProxypublic JAnnotationValue[] getValues()
Returns an untyped view of the annotation's values. These simply reflect the values which have been passed into it from JAM via the setValue method. This means they will just be a direct reflection of whatever was found on 175 annotation or javadoc tag that is being proxied.
Extending classes are encouraged to override this method if different behavior is required.
getValues in class AnnotationProxyCopyright © 2010 - 2020 Adobe. All Rights Reserved