org.apache.tapestry.enhance
Class MethodSignature
java.lang.Object
org.apache.tapestry.enhance.MethodSignature
- public class MethodSignature
- extends Object
The signature of a Method
, including
the name, return type, and parameter types. Used when checking
for unimplemented methods in enhanced subclasses.
The modifiers (i.e., "public", "abstract") and thrown
exceptions are not relevant for these purposes, and
are not part of the signature.
Instances of MethodSignature are immutable and
implement equals() and hashCode() properly for use
in Sets or as Map keys.
- Since:
- 3.0
- Version:
- $Id: MethodSignature.java,v 1.4 2004/02/19 17:37:52 hlship Exp $
- Author:
- Howard Lewis Ship
MethodSignature
public MethodSignature(Method m)
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
toString
public String toString()