net.vidageek.mirror.reflect.dsl.AllReflectionHandler Maven / Gradle / Ivy
package net.vidageek.mirror.reflect.dsl;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.List;
import net.vidageek.mirror.provider.ClassReflectionProvider;
public interface AllReflectionHandler {
/**
* Use this method to reflect all fields on the wrapped class
*
* @return The list of fields or an empty list if none was found.
* @see ClassReflectionProvider#reflectAllFields()
*/
public List fields();
/**
* Use this method to reflect all methods on the wrapped class
*
* @return The list of methods or an empty list if none was found.
* @see ClassReflectionProvider#reflectAllMethods()
*/
public List methods();
/**
* Use this method to reflect all constructors on the wrapped class
*
* @return The list of constructors or an empty list if none was found.
* @see ClassReflectionProvider#reflectAllConstructors()
*/
public List> constructors();
/**
* Use this method to reflect all annotations on a AccessibleObject
*
* @return An object responsible for reflecting annotations.
*/
public AllAnnotationsHandler annotations();
/**
*
* Use this method to reflect all setters that follow JavaBean convention
*
* @return A list of setter methods
*/
public List setters();
/**
*
* Use this method to reflect all getters that follow JavaBean convention
*
* @return A list of getter methods
*/
public List getters();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy