Class ArrayElement
java.lang.Object
org.hibernate.validator.internal.engine.valueextraction.ArrayElement
- All Implemented Interfaces:
AnnotatedElement
,Type
,TypeVariable<Class<?>>
A pseudo type variable which is used to represent constraints applied to the elements of an array.
- Author:
- Gunnar Morling, Guillaume Smet
-
Constructor Summary
ConstructorDescriptionArrayElement
(AnnotatedArrayType annotatedArrayType) ArrayElement
(Type arrayType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
<T extends Annotation>
TgetAnnotation
(Class<T> annotationClass) Type[]
Class<?>
Class<?>
getName()
int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
Constructor Details
-
ArrayElement
-
ArrayElement
-
-
Method Details
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
-
getBounds
- Specified by:
getBounds
in interfaceTypeVariable<Class<?>>
-
getGenericDeclaration
- Specified by:
getGenericDeclaration
in interfaceTypeVariable<Class<?>>
-
getName
- Specified by:
getName
in interfaceTypeVariable<Class<?>>
-
getAnnotatedBounds
- Specified by:
getAnnotatedBounds
in interfaceTypeVariable<Class<?>>
-
getContainerClass
-
equals
-
hashCode
public int hashCode() -
toString
-