|
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 ArrayInfogetComponentType in interface ClassInfogetComponentType in class BytecodeTypeInfopublic AnnotationValue getAnnotation(String name)
AnnotatedInfo
getAnnotation in interface AnnotatedInfogetAnnotation in class BytecodeInheritableAnnotationHoldername - the name
public AnnotationValue[] getAnnotations()
AnnotatedInfo
getAnnotations in interface AnnotatedInfogetAnnotations in class BytecodeTypeInfopublic boolean isAnnotationPresent(String name)
AnnotatedInfo
isAnnotationPresent in interface AnnotatedInfoisAnnotationPresent in class BytecodeInheritableAnnotationHoldername - the name
public boolean isArray()
TypeInfo
isArray in interface TypeInfoisArray in class BytecodeTypeInfoprotected String getPackageName()
getPackageName in class BytecodeTypeInfopublic Class<? extends Object> getType()
TypeInfo
getType in interface TypeInfogetType in class BytecodeTypeInfopublic boolean equals(Object o)
equals in class BytecodeTypeInfopublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected int calculateHash()
public InterfaceInfo[] getGenericInterfaces()
ClassInfo
getGenericInterfaces in interface ClassInfogetGenericInterfaces in class BytecodeTypeInfopublic InterfaceInfo[] getInterfaces()
ClassInfo
getInterfaces in interface ClassInfogetInterfaces in class BytecodeTypeInfopublic int getModifiers()
ModifierInfo
getModifiers in interface ModifierInfogetModifiers 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 | |||||||||