Class MethodKey

Object
com.liferay.portal.kernel.util.MethodKey
All Implemented Interfaces:
Externalizable, Serializable

public class MethodKey extends Object implements Externalizable
Provides a serializable loose representation for Method, considering the declaring class, name, and parameter types of the Method, while ignoring its return type and exceptions. This means the compiler generated bridging method is considered logically the same as it source counterpart. On deserialization for a generic Method, the Method that is resolved (bridge method or source method) is runtime environment dependent. Whether it is resolved to a bridge method or source method is of no consequence, as a force cast is performed on the method's return value, assuring the same result.
Author:
Brian Wing Shun Chan, Shuyang Zhou
See Also: