public class BytecodeArrayInfoImpl extends BytecodeTypeInfo implements ArrayInfo
BytecodeTypeInfo.MarshalledClassInfo
Modifier and Type | Field and Description |
---|---|
protected TypeInfo |
componentType
The component type
|
protected int |
hash
The hash code
|
clazz, GET_CLASSLOADER_PERMISSION
allAnnotations, allAnnotationsArray, classBytes, initialized
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 int |
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
|
InterfaceInfo[] |
getGenericInterfaces()
Get the generic interfaces
|
InterfaceInfo[] |
getInterfaces()
Get the interfaces
|
int |
getModifiers()
Get the modifiers
|
protected String |
getPackageName() |
Class<? extends Object> |
getType()
Get the class
|
int |
hashCode() |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present
|
boolean |
isArray()
Whether this type is an array
|
convertValue, convertValue, convertValue, generateConstructorInfo, generateConstructorInfo, generateFieldInfo, generateMethodInfo, generateMethodInfo, getActualTypeArguments, getArrayClass, getArrayType, getAttachment, getAttachment, getClassBytes, getClassLoader, getClassLoaderInternal, getClassSignature, getDeclaredConstructor, getDeclaredConstructor, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethod, getDeclaredMethod, getDeclaredMethods, getFactory, getGenericSuperclass, getHashCode, getKeyType, getName, getOwnerType, getPackage, getPackageName, getRawType, getSimpleName, getSuperclass, getSuperHolder, getTypeInfoFactory, getTypeVariable, getValueType, isAnnotation, isAssignableFrom, isCollection, isEnum, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, toShortString, toString, writeReplace
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, getGenericSuperclass, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getTypeVariable, getValueType, isInterface
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
isPublic, isStatic, isVolatile
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getClassLoader, getSimpleName, getTypeInfoFactory, isAnnotation, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
protected final TypeInfo componentType
protected final int hash
public TypeInfo getComponentType()
ClassInfo
getComponentType
in interface ArrayInfo
getComponentType
in interface ClassInfo
getComponentType
in class BytecodeTypeInfo
public AnnotationValue getAnnotation(String name)
AnnotatedInfo
getAnnotation
in interface AnnotatedInfo
getAnnotation
in class BytecodeInheritableAnnotationHolder
name
- the namepublic AnnotationValue[] getAnnotations()
AnnotatedInfo
getAnnotations
in interface AnnotatedInfo
getAnnotations
in class BytecodeTypeInfo
public boolean isAnnotationPresent(String name)
AnnotatedInfo
isAnnotationPresent
in interface AnnotatedInfo
isAnnotationPresent
in class BytecodeInheritableAnnotationHolder
name
- the namepublic boolean isArray()
TypeInfo
isArray
in interface TypeInfo
isArray
in class BytecodeTypeInfo
protected String getPackageName()
getPackageName
in class BytecodeTypeInfo
public Class<? extends Object> getType()
TypeInfo
getType
in interface TypeInfo
getType
in class BytecodeTypeInfo
public boolean equals(Object o)
equals
in class BytecodeTypeInfo
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected int calculateHash()
public InterfaceInfo[] getGenericInterfaces()
ClassInfo
getGenericInterfaces
in interface ClassInfo
getGenericInterfaces
in class BytecodeTypeInfo
public InterfaceInfo[] getInterfaces()
ClassInfo
getInterfaces
in interface ClassInfo
getInterfaces
in class BytecodeTypeInfo
public int getModifiers()
ModifierInfo
getModifiers
in interface ModifierInfo
getModifiers
in class BytecodeTypeInfo
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.