Operation.ConstructorOperation, Operation.LookupVariableOperation, Operation.MethodOperation, Operation.NullOperation, Operation.PrimitiveTypeOperation, Operation.StringOperation, Operation.WrapperException| Constructor and Description |
|---|
ConstructorOperation(Constructor m)
Creates a new ConstructorOperation with the given constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(List<Object> input)
Applies the operation.
|
Class |
getReturnType()
Returns the Class of the object this operation returns.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitexecuteTreepublic ConstructorOperation(Constructor m)
m - public Object apply(List<Object> input) throws IllegalAccessException, InvocationTargetException, InstantiationException
Operationapply in interface Operationinput - These inputs are used as parameters for the operation, in the
order in which they occur in the list.IllegalAccessExceptionInvocationTargetExceptionInstantiationExceptionpublic Class getReturnType()
OperationgetReturnType in interface OperationCopyright © 2017. All rights reserved.