public class ArrayInfoImpl extends ClassInfoImpl implements ArrayInfo
ClassInfoImpl.MarshalledClassInfo
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_TYPES
allAnnotations, allAnnotationsArray, annotatedElement, annotationHelper, declaredAnnotations, declaredAnnotationsArray
ABSTRACT, 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 annotationName)
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 annotationName)
Test whether an annotation is present
|
convertValue, convertValue, convertValue, findConstructor, findMethod, getActualTypeArguments, getArrayClass, getArrayType, getAttachment, getAttachment, getClassLoader, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getModifiers, getName, getOwnerType, getPackage, getRawType, getSimpleName, getSuperclass, getSuperHolder, getTypeInfoFactory, getTypeVariable, getValueType, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, setClassInfoHelper, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setGenericInterfaces, setGenericSuperclass, setInterfaces, setType, setTypeInfoFactory, toString, writeReplace
getAllAnnotations, getDeclaredAnnotation, getDeclaredAnnotations, isDeclaredAnnotationPresent, setAnnotatedElement, setAnnotationHelper, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
getActualTypeArguments, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getTypeVariable, getValueType, isInterface
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
getModifiers, isPublic, isStatic, isVolatile
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getClassLoader, getSimpleName, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
protected TypeInfo componentType
protected int hash
public ArrayInfoImpl()
public ArrayInfoImpl(TypeInfo componentType)
componentType
- the component type@Deprecated public Class<? extends Object> getType()
TypeInfo
getType
in interface TypeInfo
getType
in class ClassInfoImpl
public TypeInfo getComponentType()
ClassInfo
getComponentType
in interface ArrayInfo
getComponentType
in interface ClassInfo
getComponentType
in class ClassInfoImpl
public AnnotationValue getAnnotation(String annotationName)
AnnotatedInfo
getAnnotation
in interface AnnotatedInfo
getAnnotation
in class ClassInfoImpl
annotationName
- the namepublic AnnotationValue[] getAnnotations()
AnnotatedInfo
getAnnotations
in interface AnnotatedInfo
getAnnotations
in class ClassInfoImpl
public boolean isAnnotationPresent(String annotationName)
AnnotatedInfo
isAnnotationPresent
in interface AnnotatedInfo
isAnnotationPresent
in class ClassInfoImpl
annotationName
- the namepublic boolean equals(Object o)
equals
in class ClassInfoImpl
public int hashCode()
hashCode
in class ClassInfoImpl
protected void calculateHash()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.