org.testifyproject.aopalliance.reflect.Class Maven / Gradle / Ivy
package org.testifyproject.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 org.testifyproject.testifyprojectclared by this class. */
Field[] getDeclaredFields();
/**
* Gets the methods of this class (including superclass
* methods). */
Method[] getMethods();
/**
* Gets the methods org.testifyproject.testifyprojectclared by this class. */
Method[] getDeclaredMethods();
/**
* Gets the superclass of this class. */
Class getSuperclass();
/**
* Gets all the interfaces implemented by this class. */
Class[] getInterfaces();
}