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
Provides an abstraction over a method reflection.
- Since:
- 6.5
- Author:
- Guy
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionClass[]Returns an array ofClassobjects that represent the types of the exceptions declared to be thrown by the underlying method represented by thisIMethodobject.Return a reference to theMethodthat thisIProcedurerepresentsClass<?>[]Returns an array ofClassobjects that represent the formal parameter types, in declaration order, of the method represented by thisMethodobject.Class<?>Returns aClassobject that represents the formal return type of the method represented by thisIMethodobject.Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresentMethods inherited from interface com.gigaspaces.internal.reflection.IMember
getDeclaringClass, getMember, getModifiers, getName, isAccessible, setAccessible
-
Field Details
-
INTERNAL_NAME
-
-
Method Details
-
getReturnType
Class<?> getReturnType()Returns aClassobject that represents the formal return type of the method represented by thisIMethodobject.- Returns:
- the return type for the method this object represents
-
getParameterTypes
Class<?>[] getParameterTypes()Returns an array ofClassobjects that represent the formal parameter types, in declaration order, of the method represented by thisMethodobject. 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 ofClassobjects that represent the types of the exceptions declared to be thrown by the underlying method represented by thisIMethodobject. Returns an array of length 0 if the method declares no exceptions in itsthrowsclause.- Returns:
- the exception types declared as being thrown by the method this object represents
-
getMethod
Method getMethod()Return a reference to theMethodthat thisIProcedurerepresents
-