com.liferay.portal.kernel.util
Class MethodKey

java.lang.Object
  extended by com.liferay.portal.kernel.util.MethodKey
All Implemented Interfaces:
java.io.Serializable

public class MethodKey
extends java.lang.Object
implements java.io.Serializable

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
MethodKey(java.lang.reflect.Method method)
           
MethodKey(java.lang.String className, java.lang.String methodName, java.lang.Class<?>... parameterTypes)
           
MethodKey(java.lang.String className, java.lang.String methodName, java.lang.String[] parameterTypeNames)
           
 
Method Summary
static MethodKey create(java.lang.String className, java.lang.String methodName, java.lang.String[] parameterTypeNames)
          Deprecated.  
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClassName()
           
 java.lang.String getMethodName()
           
 java.lang.Class<?>[] getParameterTypes()
           
 java.lang.Class<?>[] getTypes()
          Deprecated. Use getParameterTypes.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodKey

public MethodKey(java.lang.reflect.Method method)

MethodKey

public MethodKey(java.lang.String className,
                 java.lang.String methodName,
                 java.lang.Class<?>... parameterTypes)

MethodKey

public MethodKey(java.lang.String className,
                 java.lang.String methodName,
                 java.lang.String[] parameterTypeNames)
          throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

create

public static MethodKey create(java.lang.String className,
                               java.lang.String methodName,
                               java.lang.String[] parameterTypeNames)
                        throws java.lang.ClassNotFoundException
Deprecated. 

Throws:
java.lang.ClassNotFoundException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getClassName

public java.lang.String getClassName()

getMethodName

public java.lang.String getMethodName()

getParameterTypes

public java.lang.Class<?>[] getParameterTypes()

getTypes

public java.lang.Class<?>[] getTypes()
Deprecated. Use getParameterTypes.


hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object