org.aopalliance.reflect
Interface Class
- ProgramUnit
This element represents classes in the base program.
getClassLocator
public ClassLocator getClassLocator()
Returns the class locator that corresponds to this class.
This method returns exactly the same result as
ProgramUnit.getLocator()
but with a more precise
type (
ClassLocator
instead of
UnitLocator
).
getDeclaredFields
public Field[] getDeclaredFields()
Gets the fields declared by this class.
getDeclaredMethods
public Method[] getDeclaredMethods()
Gets the methods declared by this class.
getFields
public Field[] getFields()
Gets the fields of this class (including superclass fields).
getInterfaces
public Class[] getInterfaces()
Gets all the interfaces implemented by this class.
getMethods
public Method[] getMethods()
Gets the methods of this class (including superclass
methods).
getName
public String getName()
Gets the class's full name.
getSuperclass
public Class getSuperclass()
Gets the superclass of this class.