Class 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 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 interface org.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 interface org.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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object