public interface AnnotatedTypeConfigurator<T>
| Modifier and Type | Method and Description |
|---|---|
AnnotatedTypeConfigurator<T> |
add(Annotation annotation)
Add an annotation to the field.
|
Set<AnnotatedConstructorConfigurator<T>> |
constructors() |
Set<AnnotatedFieldConfigurator<? super T>> |
fields() |
default Stream<AnnotatedConstructorConfigurator<T>> |
filterConstructors(Predicate<AnnotatedConstructor<T>> predicate) |
default Stream<AnnotatedFieldConfigurator<? super T>> |
filterFields(Predicate<AnnotatedField<? super T>> predicate) |
default Stream<AnnotatedMethodConfigurator<? super T>> |
filterMethods(Predicate<AnnotatedMethod<? super T>> predicate) |
AnnotatedType<T> |
getAnnotated() |
Set<AnnotatedMethodConfigurator<? super T>> |
methods() |
AnnotatedTypeConfigurator<T> |
remove(Predicate<Annotation> predicate)
Remove all annotations which fit the given Predicate.
|
default AnnotatedTypeConfigurator<T> |
removeAll()
Remove all annotations from the type.
|
AnnotatedType<T> getAnnotated()
AnnotatedTypeAnnotatedTypeConfigurator<T> add(Annotation annotation)
annotation - to addAnnotatedTypeConfigurator<T> remove(Predicate<Annotation> predicate)
default AnnotatedTypeConfigurator<T> removeAll()
Set<AnnotatedMethodConfigurator<? super T>> methods()
AnnotatedMethodConfigurators reflecting the AnnotatedType.getMethods()default Stream<AnnotatedMethodConfigurator<? super T>> filterMethods(Predicate<AnnotatedMethod<? super T>> predicate)
predicate - Testing the original AnnotatedMethodAnnotatedMethodConfigurators matching the given predicateAnnotatedMethodConfigurator.getAnnotated()Set<AnnotatedFieldConfigurator<? super T>> fields()
AnnotatedFieldConfigurators reflecting the AnnotatedType.getFields()default Stream<AnnotatedFieldConfigurator<? super T>> filterFields(Predicate<AnnotatedField<? super T>> predicate)
predicate - Testing the original AnnotatedFieldAnnotatedFieldConfigurators matching the given predicateAnnotatedFieldConfigurator.getAnnotated()Set<AnnotatedConstructorConfigurator<T>> constructors()
AnnotatedConstructorConfigurators reflecting the
AnnotatedType.getConstructors()default Stream<AnnotatedConstructorConfigurator<T>> filterConstructors(Predicate<AnnotatedConstructor<T>> predicate)
predicate - Testing the original AnnotatedConstructorAnnotatedConstructorConfigurators matching the given predicateAnnotatedConstructorConfigurator.getAnnotated()Copyright © 2021. All rights reserved.