Class ReconstructionInstruction
- java.lang.Object
-
- ai.libs.jaicore.basic.reconstruction.ReconstructionInstruction
-
- All Implemented Interfaces:
java.io.Serializable,org.api4.java.common.reconstruction.IReconstructionInstruction
public class ReconstructionInstruction extends java.lang.Object implements org.api4.java.common.reconstruction.IReconstructionInstruction- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReconstructionInstruction(java.lang.reflect.Method method, java.lang.Object... arguments)ReconstructionInstruction(java.lang.String clazzName, java.lang.String methodName, java.lang.Class<?>[] argumentTypes, java.lang.Object[] arguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectapply(java.lang.Object object)java.lang.ObjectapplyToCreate()java.lang.Object[]getArguments()java.lang.Class<?>[]getArgumentTypes()java.lang.StringgetClazzName()java.lang.StringgetMethodName()static booleanisArrayOfPrimitives(java.lang.Class<?> clazz)
-
-
-
Constructor Detail
-
ReconstructionInstruction
public ReconstructionInstruction(java.lang.String clazzName, java.lang.String methodName, java.lang.Class<?>[] argumentTypes, java.lang.Object[] arguments)
-
ReconstructionInstruction
public ReconstructionInstruction(java.lang.reflect.Method method, java.lang.Object... arguments)
-
-
Method Detail
-
isArrayOfPrimitives
public static boolean isArrayOfPrimitives(java.lang.Class<?> clazz)
-
apply
public java.lang.Object apply(java.lang.Object object) throws org.api4.java.common.reconstruction.ReconstructionException- Specified by:
applyin interfaceorg.api4.java.common.reconstruction.IReconstructionInstruction- Throws:
org.api4.java.common.reconstruction.ReconstructionException
-
applyToCreate
public java.lang.Object applyToCreate() throws org.api4.java.common.reconstruction.ReconstructionException- Specified by:
applyToCreatein interfaceorg.api4.java.common.reconstruction.IReconstructionInstruction- Throws:
org.api4.java.common.reconstruction.ReconstructionException
-
getClazzName
public java.lang.String getClazzName()
-
getMethodName
public java.lang.String getMethodName()
-
getArgumentTypes
public java.lang.Class<?>[] getArgumentTypes()
-
getArguments
public java.lang.Object[] getArguments()
-
-