Enum HashCodeAndEqualsPlugin.Enhance.InvokeSuper

    • Constructor Detail

      • InvokeSuper

        private InvokeSuper()
    • Method Detail

      • values

        public static HashCodeAndEqualsPlugin.Enhance.InvokeSuper[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HashCodeAndEqualsPlugin.Enhance.InvokeSuper c : HashCodeAndEqualsPlugin.Enhance.InvokeSuper.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HashCodeAndEqualsPlugin.Enhance.InvokeSuper valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • hashCodeMethod

        protected abstract HashCodeMethod hashCodeMethod​(TypeDescription instrumentedType)
        Resolves the hash code method to use.
        Parameters:
        instrumentedType - The instrumented type.
        Returns:
        The hash code method to use.
      • equalsMethod

        protected abstract EqualsMethod equalsMethod​(TypeDescription instrumentedType)
        Resolves the equals method to use.
        Parameters:
        instrumentedType - The instrumented type.
        Returns:
        The equals method to use.