public interface Element extends AnnotationMetadataDelegate, AnnotatedElement
CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Modifier and Type | Method and Description | 
|---|---|
| default <T extends Annotation> | annotate(Class<T> annotationType)Annotate this element with the given annotation type. | 
| default <T extends Annotation> | annotate(Class<T> annotationType,
        Consumer<AnnotationValueBuilder<T>> consumer)Annotate this element with the given annotation type. | 
| default <T extends Annotation> | annotate(String annotationType)Annotate this element with the given annotation type. | 
| default <T extends Annotation> | annotate(String annotationType,
        Consumer<AnnotationValueBuilder<T>> consumer)Annotate this element with the given annotation type. | 
| default Optional<String> | getDocumentation() | 
| String | getName() | 
| Object | getNativeType()Returns the native underlying type. | 
| default String | getSimpleName()The simple name of the element. | 
| default boolean | isAbstract() | 
| default boolean | isFinal() | 
| default boolean | isPrivate() | 
| boolean | isProtected() | 
| boolean | isPublic() | 
| default boolean | isStatic() | 
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypehasSimpleAnnotation, hasSimpleDeclaredAnnotationisDeclaredNullable, isNullablegetAnnotationMetadataboolean isProtected()
boolean isPublic()
@Nonnull Object getNativeType()
@Nonnull default <T extends Annotation> Element annotate(@Nonnull String annotationType, @Nonnull Consumer<AnnotationValueBuilder<T>> consumer)
T - The annotation generic typeannotationType - The annotation typeconsumer - A function that receives the AnnotationValueBuilder@Nonnull default <T extends Annotation> Element annotate(@Nonnull String annotationType)
T - The annotation generic typeannotationType - The annotation type@Nonnull default <T extends Annotation> Element annotate(@Nonnull Class<T> annotationType, @Nonnull Consumer<AnnotationValueBuilder<T>> consumer)
T - The annotation generic typeannotationType - The annotation typeconsumer - A function that receives the AnnotationValueBuilderAnnotationValueBuilder@Nonnull default <T extends Annotation> Element annotate(@Nonnull Class<T> annotationType)
T - The annotation generic typeannotationType - The annotation typeAnnotationValueBuilder@Nonnull default String getSimpleName()
default boolean isAbstract()
default boolean isStatic()
default boolean isPrivate()
default boolean isFinal()