public class AnnotationBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
AnnotationBuilder(Class<? extends Annotation> type) |
Modifier and Type | Method and Description |
---|---|
AnnotationBuilder |
add(String key,
AnnotationBuilder val) |
AnnotationBuilder |
add(String key,
boolean val) |
AnnotationBuilder |
add(String key,
Class val) |
AnnotationBuilder |
add(String key,
Enum val) |
AnnotationBuilder |
add(String key,
EnumSet val) |
AnnotationBuilder |
add(String key,
int val) |
AnnotationBuilder |
add(String key,
String val) |
Class<? extends Annotation> |
getType() |
boolean |
hasComponents() |
String |
toString() |
protected void |
toString(StringBuilder sb) |
protected AnnotationBuilder(Class<? extends Annotation> type)
public Class<? extends Annotation> getType()
public AnnotationBuilder add(String key, String val)
public AnnotationBuilder add(String key, boolean val)
public AnnotationBuilder add(String key, int val)
public AnnotationBuilder add(String key, Class val)
public AnnotationBuilder add(String key, EnumSet val)
public AnnotationBuilder add(String key, Enum val)
public AnnotationBuilder add(String key, AnnotationBuilder val)
public boolean hasComponents()
protected void toString(StringBuilder sb)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.