Class HashCodeMethod.NullValueGuard.UsingJump

    • Constructor Detail

      • UsingJump

        protected UsingJump​(MethodDescription instrumentedMethod)
        Creates a new null value guard using a jump instruction for null values.
        Parameters:
        instrumentedMethod - The instrumented method.
    • Method Detail

      • getRequiredVariablePadding

        public int getRequiredVariablePadding()
        Returns the required padding for the local variable array to apply this guard.
        Specified by:
        getRequiredVariablePadding in interface HashCodeMethod.NullValueGuard
        Returns:
        The required padding for the local variable array to apply this guard.