public class ArrayInfoImpl extends ClassInfoImpl implements ArrayInfo
| Modifier and Type | Field and Description |
|---|---|
protected TypeInfo |
componentType
The component type
|
protected int |
hash
The hash code
|
classInfoHelper, constructors, fieldMap, fields, genericInterfaces, genericSuperclass, interfaces, methods, modifiers, name, packageInfo, superclass, typeInfoFactory, UNKNOWN_CLASS, UNKNOWN_CLASSES, UNKNOWN_CONSTRUCTORS, UNKNOWN_FIELDS, UNKNOWN_INTERFACES, UNKNOWN_METHODS, UNKNOWN_TYPE, UNKNOWN_TYPESallAnnotations, allAnnotationsArray, annotatedElement, annotationHelper, declaredAnnotations, declaredAnnotationsArrayABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC| Constructor and Description |
|---|
ArrayInfoImpl()
Create a new ArrayInfo.
|
ArrayInfoImpl(TypeInfo componentType)
Create a new ArrayInfo.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateHash()
Calculate the hash code
|
boolean |
equals(Object o) |
AnnotationValue |
getAnnotation(String name)
Get an annotation
|
AnnotationValue[] |
getAnnotations()
Get the annotations
|
TypeInfo |
getComponentType()
Get the component type if it is a collection or an array
|
Class<? extends Object> |
getType()
Deprecated.
|
int |
hashCode() |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present
|
convertValue, convertValue, convertValue, findConstructor, findMethod, getActualTypeArguments, getArrayClass, getArrayType, getAttachment, getAttachment, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getModifiers, getName, getOwnerType, getPackage, getRawType, getSimpleName, getSuperclass, getSuperHolder, getTypeInfoFactory, getValueType, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, setClassInfoHelper, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setGenericInterfaces, setGenericSuperclass, setInterfaces, setSuperclass, setType, setTypeInfoFactory, toStringgetAllAnnotations, getDeclaredAnnotations, setAnnotatedElement, setAnnotationHelper, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetActualTypeArguments, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getValueType, isInterfacegetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentgetModifiers, isPublic, isStatic, isVolatileconvertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachmentprotected TypeInfo componentType
protected int hash
public ArrayInfoImpl()
public ArrayInfoImpl(TypeInfo componentType)
componentType - the component type@Deprecated public Class<? extends Object> getType()
TypeInfogetType in interface TypeInfogetType in class ClassInfoImplpublic TypeInfo getComponentType()
ClassInfogetComponentType in interface ArrayInfogetComponentType in interface ClassInfogetComponentType in class ClassInfoImplpublic AnnotationValue getAnnotation(String name)
AnnotatedInfogetAnnotation in interface AnnotatedInfogetAnnotation in class InheritableAnnotationHoldername - the namepublic AnnotationValue[] getAnnotations()
AnnotatedInfogetAnnotations in interface AnnotatedInfogetAnnotations in class InheritableAnnotationHolderpublic boolean isAnnotationPresent(String name)
AnnotatedInfoisAnnotationPresent in interface AnnotatedInfoisAnnotationPresent in class InheritableAnnotationHoldername - the namepublic boolean equals(Object o)
equals in class ClassInfoImplpublic int hashCode()
hashCode in class ClassInfoImplprotected void calculateHash()
Copyright © 2016 JBoss by Red Hat. All rights reserved.