Class MethodWrapperImpl
- java.lang.Object
-
- org.glassfish.hk2.utilities.reflection.internal.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 Summary
Constructors Constructor Description MethodWrapperImpl(Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Method
getMethod()
Returns the method associated with this wrapperint
hashCode()
String
toString()
-
-
-
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 interfaceMethodWrapper
- Returns:
- The method associated with this wrapper. Will never return null
-
-