public final class AnnotatedTypeVariables
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AnnotatedTypeVariables.AnnotatedTypeVariableInternal |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.AnnotatedTypeVariable |
over(java.lang.reflect.TypeVariable<?> typeVariable,
java.lang.annotation.Annotation... annotations)
Create a new annotated representation of a given generic type variable.
|
static java.lang.reflect.AnnotatedTypeVariable |
over(java.lang.reflect.TypeVariable<?> typeVariable,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Create a new annotated representation of a given generic type variable.
|
static java.lang.reflect.AnnotatedTypeVariable |
wrap(java.lang.reflect.AnnotatedTypeVariable type)
Wrap an existing annotated type variable.
|
protected static AnnotatedTypeVariables.AnnotatedTypeVariableInternal |
wrapImpl(java.lang.reflect.AnnotatedTypeVariable type) |
protected static AnnotatedTypeVariables.AnnotatedTypeVariableInternal |
wrapImpl(Isomorphism isomorphism,
java.lang.reflect.AnnotatedTypeVariable type) |
public static java.lang.reflect.AnnotatedTypeVariable over(java.lang.reflect.TypeVariable<?> typeVariable, java.lang.annotation.Annotation... annotations)
typeVariable
- The type variable to be annotated.annotations
- The annotations for the annotated type variable.public static java.lang.reflect.AnnotatedTypeVariable over(java.lang.reflect.TypeVariable<?> typeVariable, java.util.Collection<java.lang.annotation.Annotation> annotations)
typeVariable
- The type variable to be annotated.annotations
- The annotations for the annotated type variable.protected static AnnotatedTypeVariables.AnnotatedTypeVariableInternal wrapImpl(java.lang.reflect.AnnotatedTypeVariable type)
protected static AnnotatedTypeVariables.AnnotatedTypeVariableInternal wrapImpl(Isomorphism isomorphism, java.lang.reflect.AnnotatedTypeVariable type)
public static java.lang.reflect.AnnotatedTypeVariable wrap(java.lang.reflect.AnnotatedTypeVariable type)
type
- The type we wish to wrap.AnnotatedTypeVariable
which is equal to
the given type.