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 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
MethodSignature
public MethodSignature(Method m)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object