langtools/src/share/classes/com/sun/tools/javadoc/AnnotationDescImpl.java
changeset 15035 d03c311f44e6
parent 14260 727a84636f12
child 22448 a85fbad9d687
equal deleted inserted replaced
15034:b7c791bc4526 15035:d03c311f44e6
    87         }
    87         }
    88         return res;
    88         return res;
    89     }
    89     }
    90 
    90 
    91     /**
    91     /**
       
    92      * Check for the synthesized bit on the annotation.
       
    93      *
       
    94      * @return true if the annotation is synthesized.
       
    95      */
       
    96     public boolean isSynthesized() {
       
    97         return annotation.isSynthesized();
       
    98     }
       
    99 
       
   100     /**
    92      * Returns a string representation of this annotation.
   101      * Returns a string representation of this annotation.
    93      * String is of one of the forms:
   102      * String is of one of the forms:
    94      *     @com.example.foo(name1=val1, name2=val2)
   103      *     @com.example.foo(name1=val1, name2=val2)
    95      *     @com.example.foo(val)
   104      *     @com.example.foo(val)
    96      *     @com.example.foo
   105      *     @com.example.foo