public interface PojoMethod extends PojoElement, Accessible
| Modifier and Type | Method and Description |
|---|---|
Type[] |
getGenericParameterTypes()
Get the method generic parameter types
Note: Do not use, still in experimental mode.
|
Class<?>[] |
getParameterTypes()
Get the method parameters.
|
List<PojoParameter> |
getPojoParameters()
Get method parameters as PojoParameters.
|
Class<?> |
getReturnType() |
Object |
invoke(Object instance,
Object... parameters)
Invokes the underlying method represented by this Method object, on the specified object with the specified
parameters.
|
boolean |
isAbstract() |
boolean |
isConstructor() |
boolean |
isFinal() |
boolean |
isStatic() |
boolean |
isSynthetic() |
getNamegetAnnotation, getAnnotationsisPackagePrivate, isPrivate, isProtected, isPublicObject invoke(Object instance, Object... parameters)
instance - The class instance to invoke the method on.parameters - The parameters to pass to the method upon invocation.List<PojoParameter> getPojoParameters()
Class<?>[] getParameterTypes()
Type[] getGenericParameterTypes()
boolean isFinal()
boolean isSynthetic()
boolean isStatic()
boolean isConstructor()
boolean isAbstract()
Class<?> getReturnType()
Copyright © 2010–2019. All rights reserved.