public abstract class AbstractExecutableProperty<E extends ExecutableProperty> extends AbstractProperty implements ExecutableProperty
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractExecutableProperty.PandaParametrizedExecutableBuilder<E extends ExecutableProperty,T extends AbstractExecutableProperty.PandaParametrizedExecutableBuilder<E,?>> |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExecutableProperty(AbstractExecutableProperty.PandaParametrizedExecutableBuilder<E,?> builder) |
| Modifier and Type | Method and Description |
|---|---|
PropertyParameter[] |
getParameters()
Get parameters used by executable
|
Type[] |
getParameterTypes()
Get references to types of executable's parameters
|
Type |
getReturnType()
Get return type of executable
|
Type |
getType()
Get associated type
|
Object |
invoke(ProcessStack stack,
Object instance,
Object... arguments)
Invoke the executable
|
String |
toString() |
getLocation, getSimpleName, getVisibility, isNativeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetJavaParameterTypes, getNamegetLocation, getModule, getSimpleName, getVisibility, isNativeprotected AbstractExecutableProperty(AbstractExecutableProperty.PandaParametrizedExecutableBuilder<E,?> builder)
public Object invoke(ProcessStack stack, Object instance, Object... arguments) throws Exception
ExecutablePropertyinvoke in interface ExecutablePropertystack - the current process stackinstance - the current instancearguments - arguments to useException - if something happenpublic Type[] getParameterTypes()
ExecutablePropertygetParameterTypes in interface ExecutablePropertypublic PropertyParameter[] getParameters()
ExecutablePropertygetParameters in interface ExecutablePropertypublic Type getReturnType()
ExecutablePropertygetReturnType in interface ExecutablePropertyCopyright © 2020. All rights reserved.