org.jboss.reflect.plugins.javassist
Class JavassistArrayInfoImpl
java.lang.Object
org.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.javassist.JavassistAnnotatedInfo
org.jboss.reflect.plugins.javassist.JavassistInheritableAnnotationHolder
org.jboss.reflect.plugins.javassist.JavassistTypeInfo
org.jboss.reflect.plugins.javassist.JavassistArrayInfoImpl
- All Implemented Interfaces:
- Serializable, Cloneable, AnnotatedInfo, ArrayInfo, ClassInfo, InterfaceInfo, ModifierInfo, MutableClassInfo, TypeInfo, org.jboss.util.JBossInterface
public class JavassistArrayInfoImpl
- extends JavassistTypeInfo
- implements ArrayInfo
Javassist array info
- Version:
- $Revision: 103926 $
- Author:
- Kabir Khan
- See Also:
- Serialized Form
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 |
Methods inherited from class org.jboss.reflect.plugins.javassist.JavassistTypeInfo |
addConstructor, addField, addMethod, clearConstructorCache, clearFieldCache, clearMethodCache, convertValue, convertValue, convertValue, createMutableConstructor, createMutableConstructor, createMutableConstructor, createMutableConstructor, createMutableConstructor, createMutableField, createMutableField, createMutableMethod, createMutableMethod, createMutableMethod, createMutableMethod, createMutableMethod, generateConstructorInfo, generateConstructorInfo, generateFieldInfo, generateMethodInfo, generateMethodInfo, generateMethodInfo, getActualTypeArguments, getAnnotatedTarget, getArrayClass, getArrayType, getAttachment, getAttachment, getClassLoader, getClassLoaderInternal, getClassSignature, getDeclaredConstructor, getDeclaredConstructor, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethod, getDeclaredMethod, getDeclaredMethods, getFactory, getGenericSuperclass, getHashCode, getKeyType, getName, getOwnerType, getPackage, getParameterTypes, getRawType, getSimpleName, getSuperclass, getSuperHolder, getType, getTypeInfoFactory, getTypeVariable, getValueType, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, removeConstructor, removeField, removeMethod, setAttachment, toByteCode, toShortString, toString, writeReplace |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, list, notEqual, toShortString, toString, toStringImplementation |
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.util.JBossInterface |
clone, toShortString, toShortString |
Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getClassLoader, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment |
componentType
protected final TypeInfo componentType
- The component type
hash
protected final int hash
- The hash code
getComponentType
public TypeInfo getComponentType()
- Description copied from interface:
ClassInfo
- Get the component type if it is a collection or an array
- Specified by:
getComponentType
in interface ArrayInfo
- Specified by:
getComponentType
in interface ClassInfo
- Overrides:
getComponentType
in class JavassistTypeInfo
- Returns:
- the component type
getAnnotation
public AnnotationValue getAnnotation(String name)
- Description copied from interface:
AnnotatedInfo
- Get an annotation
- Specified by:
getAnnotation
in interface AnnotatedInfo
- Overrides:
getAnnotation
in class JavassistInheritableAnnotationHolder
- Parameters:
name
- the name
- Returns:
- the annotation or null if it is not there
getAnnotations
public AnnotationValue[] getAnnotations()
- Description copied from interface:
AnnotatedInfo
- Get the annotations
- Specified by:
getAnnotations
in interface AnnotatedInfo
- Overrides:
getAnnotations
in class JavassistTypeInfo
- Returns:
- the annotations. If there are no annotations a zero length array is returned
isAnnotationPresent
public boolean isAnnotationPresent(String name)
- Description copied from interface:
AnnotatedInfo
- Test whether an annotation is present
- Specified by:
isAnnotationPresent
in interface AnnotatedInfo
- Overrides:
isAnnotationPresent
in class JavassistInheritableAnnotationHolder
- Parameters:
name
- the name
- Returns:
- true when the annotation is present
equals
public boolean equals(Object o)
- Overrides:
equals
in class JavassistTypeInfo
hashCode
public int hashCode()
- Overrides:
hashCode
in class org.jboss.util.JBossObject
calculateHash
protected int calculateHash()
- Calculate the hash code
getGenericInterfaces
public InterfaceInfo[] getGenericInterfaces()
- Description copied from interface:
ClassInfo
- Get the generic interfaces
- Specified by:
getGenericInterfaces
in interface ClassInfo
- Overrides:
getGenericInterfaces
in class JavassistTypeInfo
- Returns:
- the generic interfaces
getInterfaces
public InterfaceInfo[] getInterfaces()
- Description copied from interface:
ClassInfo
- Get the interfaces
- Specified by:
getInterfaces
in interface ClassInfo
- Overrides:
getInterfaces
in class JavassistTypeInfo
- Returns:
- the interfaces
getModifiers
public int getModifiers()
- Description copied from interface:
ModifierInfo
- Get the modifiers
- Specified by:
getModifiers
in interface ModifierInfo
- Overrides:
getModifiers
in class JavassistTypeInfo
- Returns:
- the modifiers
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.