org.aopalliance.reflect.Class Maven / Gradle / Ivy
Show all versions of openid4java-shaded Show documentation
package org.aopalliance.reflect;
/**
* This element represents classes in the base program. */
public interface Class extends ProgramUnit {
/**
* 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
).
*
* @see ProgramUnit#getLocator() */
ClassLocator getClassLocator();
/**
* Gets the class's full name. */
String getName();
/**
* Gets the fields of this class (including superclass fields). */
Field[] getFields();
/**
* Gets the fields declared by this class. */
Field[] getDeclaredFields();
/**
* Gets the methods of this class (including superclass
* methods). */
Method[] getMethods();
/**
* Gets the methods declared by this class. */
Method[] getDeclaredMethods();
/**
* Gets the superclass of this class. */
Class getSuperclass();
/**
* Gets all the interfaces implemented by this class. */
Class[] getInterfaces();
}