Class MethodWrapperImpl
- java.lang.Object
-
- org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
-
- All Implemented Interfaces:
MethodWrapper
public class MethodWrapperImpl extends java.lang.Object implements MethodWrapper
Wrapper of methods with an equals and hashCode that makes methods hiding other methods be equal
-
-
Constructor Summary
Constructors Constructor Description MethodWrapperImpl(java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.reflect.Method
getMethod()
Returns the method associated with this wrapperint
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getMethod
public java.lang.reflect.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
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-