public class JavassistArrayInfoImpl extends JavassistTypeInfo implements ArrayInfo
Modifier and Type | Field and Description |
---|---|
protected TypeInfo |
componentType
The component type
|
protected int |
hash
The hash code
|
allAnnotations, allAnnotationsArray, ctClass
annotationHelper, annotationMap, annotationsArray
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
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
|
int |
hashCode() |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present
|
convertValue, convertValue, convertValue, generateConstructorInfo, generateConstructorInfo, generateFieldInfo, generateMethodInfo, generateMethodInfo, generateMethodInfo, getActualTypeArguments, getAnnotatedTarget, getArrayClass, getArrayType, getAttachment, getAttachment, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getFactory, getGenericInterfaces, getGenericSuperclass, getHashCode, getInterfaces, getKeyType, getModifiers, getName, getOwnerType, getPackage, getParameterTypes, getRawType, getSimpleName, getSuperclass, getSuperHolder, getType, getTypeInfoFactory, getValueType, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, toShortString, toString
getAllAnnotations, getAnnotations, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, list, notEqual, 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, getValueType, isInterface
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
getModifiers, isPublic, isStatic, isVolatile
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
protected TypeInfo componentType
protected int hash
public TypeInfo getComponentType()
ClassInfo
getComponentType
in interface ArrayInfo
getComponentType
in interface ClassInfo
getComponentType
in class JavassistTypeInfo
public AnnotationValue getAnnotation(String name)
AnnotatedInfo
getAnnotation
in interface AnnotatedInfo
getAnnotation
in class JavassistInheritableAnnotationHolder
name
- the namepublic AnnotationValue[] getAnnotations()
AnnotatedInfo
getAnnotations
in interface AnnotatedInfo
getAnnotations
in class JavassistTypeInfo
public boolean isAnnotationPresent(String name)
AnnotatedInfo
isAnnotationPresent
in interface AnnotatedInfo
isAnnotationPresent
in class JavassistInheritableAnnotationHolder
name
- the namepublic boolean equals(Object o)
equals
in class JavassistTypeInfo
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calculateHash()
Copyright © 2015 JBoss by Red Hat. All rights reserved.