org.jboss.reflect.plugins
Class InterfaceInfoImpl

java.lang.Object
  extended byorg.jboss.util.JBossObject
      extended byorg.jboss.reflect.plugins.InheritableAnnotationHolder
          extended byorg.jboss.reflect.plugins.ClassInfoImpl
              extended byorg.jboss.reflect.plugins.InterfaceInfoImpl
All Implemented Interfaces:
AnnotatedInfo, ClassInfo, Cloneable, InterfaceInfo, org.jboss.util.JBossInterface, ModifierInfo, Serializable, TypeInfo
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
constructors, fieldMap, fields, interfaces, methods, modifiers, name, superclass, type
 
Fields inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder
allAnnotations, allAnnotationsArray, declaredAnnotations, declaredAnnotationsArray, superHolder
 
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, InterfaceInfo[] interfaces)
          Create a new InterfaceInfo.
 
Method Summary
 boolean isInterface()
          Whether it is an interface
 
Methods inherited from class org.jboss.reflect.plugins.ClassInfoImpl
equals, findMethod, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getInterfaces, getModifiers, getName, getSuperclass, getType, hashCode, isPublic, isStatic, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setInterfaces, setSuperclass, setType, toString
 
Methods inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, setupAnnotations
 
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
getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getInterfaces, getName, getSuperclass
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo
getModifiers, isPublic, isStatic
 
Methods inherited from interface org.jboss.reflect.spi.TypeInfo
getType
 

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,
                         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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.