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>>booleanisAnnotationPresent(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:
getJavaClassin interfaceAnnotatedType<T>
-
getBaseType
- Specified by:
getBaseTypein interfaceAnnotated
-
getTypeClosure
- Specified by:
getTypeClosurein interfaceAnnotated
-
getConstructors
- Specified by:
getConstructorsin interfaceAnnotatedType<T>
-
getMethods
- Specified by:
getMethodsin interfaceAnnotatedType<T>
-
getFields
- Specified by:
getFieldsin interfaceAnnotatedType<T>
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotated
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotated- Specified by:
getAnnotationsin interfaceAnnotatedType<T>
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotated
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotated
-