org.codehaus.aspectwerkz.reflect
Class ClassInfo.NullClassInfo

java.lang.Object
  extended byorg.codehaus.aspectwerkz.reflect.ClassInfo.NullClassInfo
All Implemented Interfaces:
ClassInfo, ReflectionInfo
Enclosing class:
ClassInfo

public static class ClassInfo.NullClassInfo
extends Object
implements ClassInfo


Nested Class Summary
 
Nested classes inherited from class org.codehaus.aspectwerkz.reflect.ClassInfo
ClassInfo.NullClassInfo
 
Constructor Summary
ClassInfo.NullClassInfo()
           
 
Method Summary
 List getAnnotations()
          Returns the annotation infos.
 ClassInfo getComponentType()
          Returns the component type if array type else null.
 ConstructorInfo getConstructor(int hash)
          Returns a constructor info by its hash.
 ConstructorInfo[] getConstructors()
          Returns the constructors info.
 FieldInfo getField(int hash)
          Returns a field info by its hash.
 FieldInfo[] getFields()
          Returns the fields info.
 ClassInfo[] getInterfaces()
          Returns the interfaces.
 MethodInfo getMethod(int hash)
          Returns a method info by its hash.
 MethodInfo[] getMethods()
          Returns the methods info.
 int getModifiers()
          Returns the class modifiers.
 String getName()
          Returns the name of the class.
 ClassInfo getSuperClass()
          Returns the super class.
 boolean isArray()
          Is the class an array type.
 boolean isInterface()
          Is the class an interface.
 boolean isPrimitive()
          Is the class a primitive type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassInfo.NullClassInfo

public ClassInfo.NullClassInfo()
Method Detail

getConstructor

public ConstructorInfo getConstructor(int hash)
Description copied from interface: ClassInfo
Returns a constructor info by its hash.

Specified by:
getConstructor in interface ClassInfo
Parameters:
hash -
Returns:

getConstructors

public ConstructorInfo[] getConstructors()
Description copied from interface: ClassInfo
Returns the constructors info.

Specified by:
getConstructors in interface ClassInfo
Returns:
the constructors info

getMethod

public MethodInfo getMethod(int hash)
Description copied from interface: ClassInfo
Returns a method info by its hash.

Specified by:
getMethod in interface ClassInfo
Parameters:
hash -
Returns:

getMethods

public MethodInfo[] getMethods()
Description copied from interface: ClassInfo
Returns the methods info.

Specified by:
getMethods in interface ClassInfo
Returns:
the methods info

getField

public FieldInfo getField(int hash)
Description copied from interface: ClassInfo
Returns a field info by its hash.

Specified by:
getField in interface ClassInfo
Parameters:
hash -
Returns:

getFields

public FieldInfo[] getFields()
Description copied from interface: ClassInfo
Returns the fields info.

Specified by:
getFields in interface ClassInfo
Returns:
the fields info

getInterfaces

public ClassInfo[] getInterfaces()
Description copied from interface: ClassInfo
Returns the interfaces.

Specified by:
getInterfaces in interface ClassInfo
Returns:
the interfaces

getSuperClass

public ClassInfo getSuperClass()
Description copied from interface: ClassInfo
Returns the super class.

Specified by:
getSuperClass in interface ClassInfo
Returns:
the super class

getComponentType

public ClassInfo getComponentType()
Description copied from interface: ClassInfo
Returns the component type if array type else null.

Specified by:
getComponentType in interface ClassInfo
Returns:
the component type

isInterface

public boolean isInterface()
Description copied from interface: ClassInfo
Is the class an interface.

Specified by:
isInterface in interface ClassInfo
Returns:

isPrimitive

public boolean isPrimitive()
Description copied from interface: ClassInfo
Is the class a primitive type.

Specified by:
isPrimitive in interface ClassInfo
Returns:

isArray

public boolean isArray()
Description copied from interface: ClassInfo
Is the class an array type.

Specified by:
isArray in interface ClassInfo
Returns:

getName

public String getName()
Description copied from interface: ReflectionInfo
Returns the name of the class.

Specified by:
getName in interface ReflectionInfo
Returns:
the name of the class

getModifiers

public int getModifiers()
Description copied from interface: ReflectionInfo
Returns the class modifiers.

Specified by:
getModifiers in interface ReflectionInfo
Returns:
the class modifiers

getAnnotations

public List getAnnotations()
Description copied from interface: ReflectionInfo
Returns the annotation infos.

Specified by:
getAnnotations in interface ReflectionInfo
Returns:
the annotations infos


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.