Class FaultToleranceExtension.AnnotatedTypeWrapper<T>
java.lang.Object
io.helidon.microprofile.faulttolerance.FaultToleranceExtension.AnnotatedTypeWrapper<T>
- Type Parameters:
T
- Underlying type.
- All Implemented Interfaces:
Annotated
,AnnotatedType<T>
- Enclosing class:
FaultToleranceExtension
public static class FaultToleranceExtension.AnnotatedTypeWrapper<T>
extends Object
implements AnnotatedType<T>
Wraps an annotated type for the purpose of adding and/or overriding
some annotations.
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedTypeWrapper
(AnnotatedType<T> delegate, Annotation... annotations) Constructor. -
Method Summary
Modifier and TypeMethodDescription<R extends Annotation>
RgetAnnotation
(Class<R> annotationType) <T extends Annotation>
Set<T> getAnnotations
(Class<T> annotationType) Set
<AnnotatedField<? super T>> Set
<AnnotatedMethod<? super T>> boolean
isAnnotationPresent
(Class<? extends Annotation> annotationType)
-
Constructor Details
-
AnnotatedTypeWrapper
Constructor.- Parameters:
delegate
- Wrapped annotated type.annotations
- New set of annotations possibly overriding existing ones.
-
-
Method Details
-
getJavaClass
- Specified by:
getJavaClass
in interfaceAnnotatedType<T>
-
getBaseType
- Specified by:
getBaseType
in interfaceAnnotated
-
getTypeClosure
- Specified by:
getTypeClosure
in interfaceAnnotated
-
getConstructors
- Specified by:
getConstructors
in interfaceAnnotatedType<T>
-
getMethods
- Specified by:
getMethods
in interfaceAnnotatedType<T>
-
getFields
- Specified by:
getFields
in interfaceAnnotatedType<T>
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotated
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotated
- Specified by:
getAnnotations
in interfaceAnnotatedType<T>
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotated
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceAnnotated
-