T - Underlying type.public static class FaultToleranceExtension.AnnotatedTypeWrapper<T> extends Object implements javax.enterprise.inject.spi.AnnotatedType<T>
| Constructor and Description |
|---|
AnnotatedTypeWrapper(javax.enterprise.inject.spi.AnnotatedType<T> delegate,
Annotation... annotations)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<R extends Annotation> |
getAnnotation(Class<R> annotationType) |
Set<Annotation> |
getAnnotations() |
<T extends Annotation> |
getAnnotations(Class<T> annotationType) |
Type |
getBaseType() |
Set<javax.enterprise.inject.spi.AnnotatedConstructor<T>> |
getConstructors() |
Set<javax.enterprise.inject.spi.AnnotatedField<? super T>> |
getFields() |
Class<T> |
getJavaClass() |
Set<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> |
getMethods() |
Set<Type> |
getTypeClosure() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
public AnnotatedTypeWrapper(javax.enterprise.inject.spi.AnnotatedType<T> delegate, Annotation... annotations)
delegate - Wrapped annotated type.annotations - New set of annotations possibly overriding existing ones.public Class<T> getJavaClass()
getJavaClass in interface javax.enterprise.inject.spi.AnnotatedType<T>public Type getBaseType()
getBaseType in interface javax.enterprise.inject.spi.Annotatedpublic Set<Type> getTypeClosure()
getTypeClosure in interface javax.enterprise.inject.spi.Annotatedpublic Set<javax.enterprise.inject.spi.AnnotatedConstructor<T>> getConstructors()
getConstructors in interface javax.enterprise.inject.spi.AnnotatedType<T>public Set<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> getMethods()
getMethods in interface javax.enterprise.inject.spi.AnnotatedType<T>public Set<javax.enterprise.inject.spi.AnnotatedField<? super T>> getFields()
getFields in interface javax.enterprise.inject.spi.AnnotatedType<T>public <R extends Annotation> R getAnnotation(Class<R> annotationType)
getAnnotation in interface javax.enterprise.inject.spi.Annotatedpublic <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
getAnnotations in interface javax.enterprise.inject.spi.AnnotatedgetAnnotations in interface javax.enterprise.inject.spi.AnnotatedType<T>public Set<Annotation> getAnnotations()
getAnnotations in interface javax.enterprise.inject.spi.Annotatedpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent in interface javax.enterprise.inject.spi.AnnotatedCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.