com.liferay.portal.kernel.util
Class MethodKey
java.lang.Object
com.liferay.portal.kernel.util.MethodKey
- All Implemented Interfaces:
- Externalizable, Serializable
public class MethodKey
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
MethodKey
public MethodKey()
- The empty constructor is required by
Externalizable. Do
not use this for any other purpose.
MethodKey
public MethodKey(Class<?> declaringClass,
String methodName,
Class<?>... parameterTypes)
MethodKey
public MethodKey(Method method)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getDeclaringClass
public Class<?> getDeclaringClass()
getMethod
public Method getMethod()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
getMethodName
public String getMethodName()
getParameterTypes
public Class<?>[] getParameterTypes()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
readExternal
public void readExternal(ObjectInput objectInput)
throws ClassNotFoundException,
IOException
- Specified by:
readExternal in interface Externalizable
- Throws:
ClassNotFoundException
IOException
toString
public String toString()
- Overrides:
toString in class Object
transform
public MethodKey transform(ClassLoader classLoader)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException