|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.InheritableAnnotationHolder
org.jboss.reflect.plugins.ClassInfoImpl
org.jboss.reflect.plugins.ArrayInfoImpl
public class ArrayInfoImpl
Array information
Field Summary | |
---|---|
protected TypeInfo |
componentType
The component type |
protected int |
hash
The hash code |
Fields inherited from class org.jboss.reflect.plugins.ClassInfoImpl |
---|
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 |
Fields inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
---|
allAnnotations, allAnnotationsArray, annotatedElement, annotationHelper, declaredAnnotations, declaredAnnotationsArray |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
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 Summary | |
---|---|
ArrayInfoImpl()
Create a new ArrayInfo. |
|
ArrayInfoImpl(TypeInfo componentType)
Create a new ArrayInfo. |
Method Summary | |
---|---|
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 |
Methods inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
---|
getAllAnnotations, getDeclaredAnnotations, setAnnotatedElement, setAnnotationHelper, setupAnnotations |
Methods inherited from class org.jboss.reflect.plugins.AbstractAnnotatedInfo |
---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.reflect.spi.ClassInfo |
---|
getActualTypeArguments, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getValueType, isInterface |
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
getModifiers, isPublic, isStatic, isVolatile |
Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
---|
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment |
Field Detail |
---|
protected TypeInfo componentType
protected int hash
Constructor Detail |
---|
public ArrayInfoImpl()
public ArrayInfoImpl(TypeInfo componentType)
componentType
- the component typeMethod Detail |
---|
@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 name)
AnnotatedInfo
getAnnotation
in interface AnnotatedInfo
getAnnotation
in class InheritableAnnotationHolder
name
- the name
public AnnotationValue[] getAnnotations()
AnnotatedInfo
getAnnotations
in interface AnnotatedInfo
getAnnotations
in class InheritableAnnotationHolder
public boolean isAnnotationPresent(String name)
AnnotatedInfo
isAnnotationPresent
in interface AnnotatedInfo
isAnnotationPresent
in class InheritableAnnotationHolder
name
- the name
public boolean equals(Object o)
equals
in class ClassInfoImpl
public int hashCode()
hashCode
in class ClassInfoImpl
protected void calculateHash()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |