org.apache.tapestry.enhance
Class MethodSignature

java.lang.Object
  extended by 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

Constructor Summary
MethodSignature(Method m)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodSignature

public MethodSignature(Method m)
Method Detail

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