|
JBoss Reflection 2.2.1.SP1 | |||||||||
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.bytecode.BytecodeAnnotatedInfo
org.jboss.reflect.plugins.bytecode.BytecodeInheritableAnnotationHolder
org.jboss.reflect.plugins.bytecode.BytecodeTypeInfo
org.jboss.reflect.plugins.bytecode.BytecodeArrayInfoImpl
public class BytecodeArrayInfoImpl
Javassist array info
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.reflect.plugins.bytecode.BytecodeTypeInfo |
---|
BytecodeTypeInfo.MarshalledClassInfo |
Field Summary | |
---|---|
protected TypeInfo |
componentType
The component type |
protected int |
hash
The hash code |
Fields inherited from class org.jboss.reflect.plugins.bytecode.BytecodeTypeInfo |
---|
clazz, GET_CLASSLOADER_PERMISSION |
Fields inherited from class org.jboss.reflect.plugins.bytecode.BytecodeInheritableAnnotationHolder |
---|
allAnnotations, allAnnotationsArray, classBytes, initialized |
Fields inherited from class org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo |
---|
annotationHelper, annotationMap, annotationsArray |
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class org.jboss.reflect.plugins.bytecode.BytecodeInheritableAnnotationHolder |
---|
getAllAnnotations, getAnnotations, 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, list, notEqual, 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, getGenericSuperclass, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getTypeVariable, 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 |
---|
isPublic, isStatic, isVolatile |
Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
---|
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getClassLoader, getSimpleName, getTypeInfoFactory, isAnnotation, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment |
Field Detail |
---|
protected final TypeInfo componentType
protected final int hash
Method Detail |
---|
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 name
public 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 name
public 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
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |