Class Annotation
- java.lang.Object
-
- org.apache.camel.tooling.util.srcgen.Annotation
-
public class Annotation extends Object
-
-
Constructor Summary
Constructors Constructor Description Annotation(Class<? extends Annotation> type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStringValue(String name)Class<? extends Annotation>getType()static Stringquote(String value)AnnotationsetLiteralValue(String value)AnnotationsetLiteralValue(String name, String value)AnnotationsetStringArrayValue(String name, String[] values)AnnotationsetStringValue(String name, String value)AnnotationsetType(Class<? extends Annotation> type)
-
-
-
Constructor Detail
-
Annotation
public Annotation(Class<? extends Annotation> type)
-
-
Method Detail
-
getType
public Class<? extends Annotation> getType()
-
setType
public Annotation setType(Class<? extends Annotation> type)
-
setStringValue
public Annotation setStringValue(String name, String value)
-
setLiteralValue
public Annotation setLiteralValue(String name, String value)
-
setLiteralValue
public Annotation setLiteralValue(String value)
-
setStringArrayValue
public Annotation setStringArrayValue(String name, String[] values)
-
-