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.Object
apply(java.lang.Object object)
java.lang.Object
applyToCreate()
boolean
equals(java.lang.Object obj)
java.lang.Object[]
getArguments()
java.lang.Class<?>[]
getArgumentTypes()
java.lang.String
getClazzName()
java.lang.String
getMethodName()
int
hashCode()
static boolean
isArrayOfPrimitives(java.lang.Class<?> clazz)
java.lang.String
toString()
-
-
-
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:
apply
in 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:
applyToCreate
in 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()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-