public abstract class Executable extends Object
| Constructor and Description |
|---|
Executable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Two
Executables are considered equal either if their wrapped fields/methods are equal
or if one wraps a field and the other its corresponding getter/setter. |
abstract Object |
execute(Object target,
Object[] args) |
abstract AnnotatedType[] |
getAnnotatedParameterTypes() |
abstract int |
getParameterCount()
Returns the number of formal parameters this executable takes.
|
abstract Parameter[] |
getParameters() |
abstract AnnotatedType |
getReturnType() |
int |
hashCode() |
public abstract Object execute(Object target, Object[] args) throws InvocationTargetException, IllegalAccessException
public abstract AnnotatedType getReturnType()
public abstract int getParameterCount()
getParameters().length.public abstract AnnotatedType[] getAnnotatedParameterTypes()
public abstract Parameter[] getParameters()
Copyright © 2016–2017. All rights reserved.