Class TypedAnnotationProxyBase


  • public abstract class TypedAnnotationProxyBase
    extends AnnotationProxy
    Deprecated.
    do not use, being deleted
    • Method Detail

      • setValue

        public void setValue​(java.lang.String name,
                             java.lang.Object value,
                             JClass type)
        Deprecated.

        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.

        Specified by:
        setValue in class AnnotationProxy
      • getValues

        public JAnnotationValue[] getValues()
        Deprecated.

        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.

        Specified by:
        getValues in class AnnotationProxy