org.jboss.reflect.plugins
Class InterfaceInfoImpl

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.reflect.plugins.AbstractAnnotatedInfo
          extended by org.jboss.reflect.plugins.InheritableAnnotationHolder
              extended by org.jboss.reflect.plugins.ClassInfoImpl
                  extended by org.jboss.reflect.plugins.InterfaceInfoImpl
All Implemented Interfaces:
Serializable, Cloneable, AnnotatedInfo, ClassInfo, InterfaceInfo, ModifierInfo, TypeInfo, org.jboss.util.JBossInterface
Direct Known Subclasses:
AnnotationInfoImpl

public class InterfaceInfoImpl
extends ClassInfoImpl
implements InterfaceInfo

Interface info

Author:
Bill Burke, Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.reflect.plugins.ClassInfoImpl
classInfoHelper, constructors, fieldMap, fields, genericInterfaces, genericSuperclass, interfaces, methods, modifiers, name, packageInfo, superclass, typeInfoFactory, UNKNOWN_CLASS, UNKNOWN_CLASSES, UNKNOWN_CONSTRUCTORS, UNKNOWN_FIELDS, UNKNOWN_INTERFACES, UNKNOWN_METHODS, UNKNOWN_TYPE, UNKNOWN_TYPES
 
Fields inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder
allAnnotations, allAnnotationsArray, annotatedElement, annotationHelper, declaredAnnotations, declaredAnnotationsArray
 
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
 
Constructor Summary
InterfaceInfoImpl()
          Create a new interface info
InterfaceInfoImpl(String name)
          Create a new interface info
InterfaceInfoImpl(String name, int modifiers)
          Create a new InterfaceInfo.
InterfaceInfoImpl(String name, int modifiers, InterfaceInfo[] interfaces)
          Create a new InterfaceInfo.
 
Method Summary
 boolean isInterface()
          Whether it is an interface
 
Methods inherited from class org.jboss.reflect.plugins.ClassInfoImpl
convertValue, convertValue, convertValue, equals, findConstructor, findMethod, getActualTypeArguments, getArrayClass, getArrayType, getAttachment, getAttachment, getComponentType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getModifiers, getName, getOwnerType, getPackage, getRawType, getSimpleName, getSuperclass, getSuperHolder, getType, getTypeInfoFactory, getValueType, hashCode, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, setClassInfoHelper, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setGenericInterfaces, setGenericSuperclass, setInterfaces, setSuperclass, setType, setTypeInfoFactory, toString
 
Methods inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder
getAllAnnotations, getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, setAnnotatedElement, setAnnotationHelper, 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, getHashCode, list, notEqual, toShortString, 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, getComponentType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getName, getOwnerType, getPackage, getRawType, getSuperclass, getValueType
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo
getModifiers, isPublic, isStatic, isVolatile
 
Methods inherited from interface org.jboss.reflect.spi.TypeInfo
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
 

Constructor Detail

InterfaceInfoImpl

public InterfaceInfoImpl()
Create a new interface info


InterfaceInfoImpl

public InterfaceInfoImpl(String name)
Create a new interface info

Parameters:
name - the interface name

InterfaceInfoImpl

public InterfaceInfoImpl(String name,
                         int modifiers)
Create a new InterfaceInfo.

Parameters:
name - the interface name
modifiers - the interface modifier

InterfaceInfoImpl

public InterfaceInfoImpl(String name,
                         int modifiers,
                         InterfaceInfo[] interfaces)
Create a new InterfaceInfo.

Parameters:
name - the interface name
modifiers - the interface modifier
interfaces - the interfaces
Method Detail

isInterface

public boolean isInterface()
Description copied from interface: ClassInfo
Whether it is an interface

Specified by:
isInterface in interface ClassInfo
Overrides:
isInterface in class ClassInfoImpl
Returns:
true when an interface


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.