Uses of Interface
org.jboss.forge.roaster.model.source.AnnotationSource
Packages that use AnnotationSource
-
Uses of AnnotationSource in org.jboss.forge.roaster.model.source
Methods in org.jboss.forge.roaster.model.source that return AnnotationSourceModifier and TypeMethodDescriptionAnnotationTargetSource.addAnnotation()Add a new annotation instance to thisAnnotationTargetSource(note that an import statement must be added manually if required).AnnotationTargetSource.addAnnotation(Class<? extends Annotation> type) Add a new annotation instance to thisAnnotationTargetSource, using the givenClassas the annotation type.AnnotationTargetSource.addAnnotation(String className) Add a new annotation instance to thisAnnotationTargetSource, using the givenStringclassName as the annotation type.AnnotationSource.addAnnotationValue()Add an annotation value.AnnotationSource.addAnnotationValue(Class<? extends Annotation> type) Add an annotation value.AnnotationSource.addAnnotationValue(String name) Add a named annotation value.AnnotationSource.addAnnotationValue(String name, Class<? extends Annotation> type) Add an annotation value.AnnotationElementSource.DefaultValue.getAnnotation()AnnotationTargetSource.getAnnotation(Class<? extends Annotation> type) AnnotationTargetSource.getAnnotation(String type) AnnotationSource.getAnnotationArrayValue()AnnotationSource.getAnnotationArrayValue(String name) AnnotationSource.getAnnotationValue()AnnotationSource.getAnnotationValue(String name) AnnotationSource.removeAllValues()AnnotationSource.removeAnnotationValue(String name, Annotation<O> element) Removeelementfrom the array of values associated with the specified annotation element.AnnotationSource.removeAnnotationValue(Annotation<O> element) Removeelementfrom the array of values associated with the"value"annotation element.AnnotationSource.removeValue(String name) AnnotationElementSource.DefaultValue.setAnnotation()AnnotationSource.setAnnotationValue()Set an annotation value.AnnotationSource.setAnnotationValue(String name) Set a named annotation value.AnnotationSource.setClassArrayValue(Class<?>... values) AnnotationSource.setClassArrayValue(String name, Class<?>... values) AnnotationSource.setClassValue(Class<?> value) AnnotationSource.setClassValue(String name, Class<?> value) AnnotationSource.setEnumArrayValue(Enum<?>... values) AnnotationSource.setEnumArrayValue(String name, Enum<?>... values) AnnotationSource.setEnumValue(Enum<?>... value) AnnotationSource.setEnumValue(String name, Enum<?> value) AnnotationSource.setLiteralValue(String value) AnnotationSource.setLiteralValue(String name, String value) AnnotationSource.setStringArrayValue(String[] values) AnnotationSource.setStringArrayValue(String name, String[] values) AnnotationSource.setStringValue(String value) AnnotationSource.setStringValue(String name, String value) Methods in org.jboss.forge.roaster.model.source that return types with arguments of type AnnotationSource