Class MethodConstant.ForConstructor

    • Constructor Detail

      • ForConstructor

        protected ForConstructor​(MethodDescription.InDefinedShape methodDescription)
        Creates a new MethodConstant for creating a Constructor instance.
        Parameters:
        methodDescription - The constructor to be loaded onto the stack.
    • Method Detail

      • preparation

        protected StackManipulation preparation()
        Description copied from class: MethodConstant
        Returns a stack manipulation that loads the values that are required for loading a method constant onto the operand stack.
        Specified by:
        preparation in class MethodConstant
        Returns:
        A stack manipulation for loading a method or constructor onto the operand stack.
      • accessorMethod

        protected MethodDescription accessorMethod()
        Description copied from class: MethodConstant
        Returns the method for loading a declared method or constructor onto the operand stack.
        Specified by:
        accessorMethod in class MethodConstant
        Returns:
        The method for loading a declared method or constructor onto the operand stack.