Interface IProcedure<T>

Type Parameters:
T - Type of the class that contains this method.
All Superinterfaces:
AnnotatedElement, IMember<T>
All Known Subinterfaces:
IGetterMethod<T>, IMethod<T>, ISetterMethod<T>
All Known Implementing Classes:
AbstractGetterMethod, AbstractMethod, AbstractSetterMethod, StandardGetterMethod, StandardMethod, StandardProcedure, StandardSetterMethod

public interface IProcedure<T> extends IMember<T>
Provides an abstraction over a method reflection.
Since:
6.5
Author:
Guy
  • Field Details

    • INTERNAL_NAME

      static final String INTERNAL_NAME
  • Method Details

    • getReturnType

      Class<?> getReturnType()
      Returns a Class object that represents the formal return type of the method represented by this IMethod object.
      Returns:
      the return type for the method this object represents
    • getParameterTypes

      Class<?>[] getParameterTypes()
      Returns an array of Class objects that represent the formal parameter types, in declaration order, of the method represented by this Method object. Returns an array of length 0 if the underlying method takes no parameters.
      Returns:
      the parameter types for the method this object represents
    • getExceptionTypes

      Class[] getExceptionTypes()
      Returns an array of Class objects that represent the types of the exceptions declared to be thrown by the underlying method represented by this IMethod object. Returns an array of length 0 if the method declares no exceptions in its throws clause.
      Returns:
      the exception types declared as being thrown by the method this object represents
    • getMethod

      Method getMethod()
      Return a reference to the Method that this IProcedure represents