Class MethodWrapperImpl

  • All Implemented Interfaces:
    MethodWrapper

    public class MethodWrapperImpl
    extends Object
    implements MethodWrapper
    Wrapper of methods with an equals and hashCode that makes methods hiding other methods be equal
    Author:
    jwells
    • Constructor Detail

      • MethodWrapperImpl

        public MethodWrapperImpl​(Method method)
    • Method Detail

      • getMethod

        public Method getMethod()
        Description copied from interface: MethodWrapper
        Returns the method associated with this wrapper
        Specified by:
        getMethod in interface MethodWrapper
        Returns:
        The method associated with this wrapper. Will never return null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object