Class AnnotationBuilder<A extends Annotation>
java.lang.Object
com.strobel.reflection.emit.AnnotationBuilder<A>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodListprivate Aprivate final ReadOnlyList<Object> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAnnotationBuilder(Type<A> annotationType, MethodList attributes, ReadOnlyList<Object> values) -
Method Summary
Modifier and TypeMethodDescription(package private) voidbake()private static <A extends Annotation>
voidcheckProperties(Type<A> annotationType, MethodList properties, ReadOnlyList<Object> values) static <A extends Annotation>
AnnotationBuilder<A> static <A extends Annotation>
AnnotationBuilder<A> create(Type<A> annotationType, MethodList properties, ReadOnlyList<Object> values) static <A extends Annotation>
AnnotationBuilder<A>
-
Field Details
-
_annotationType
-
_attributes
-
_values
-
_bakedAnnotation
-
-
Constructor Details
-
AnnotationBuilder
private AnnotationBuilder(Type<A> annotationType, MethodList attributes, ReadOnlyList<Object> values)
-
-
Method Details
-
getAnnotation
-
getAnnotationType
-
getAttributes
-
getValues
-
create
public static <A extends Annotation> AnnotationBuilder<A> create(Type<A> annotationType, MethodList properties, ReadOnlyList<Object> values) -
create
-
create
public static <A extends Annotation> AnnotationBuilder<A> create(Type<A> annotationType, Object value) -
checkProperties
private static <A extends Annotation> void checkProperties(Type<A> annotationType, MethodList properties, ReadOnlyList<Object> values) -
bake
void bake()
-