org.codehaus.enunciate.bytecode
Class MethodKey

java.lang.Object
  extended by org.codehaus.enunciate.bytecode.MethodKey

public class MethodKey
extends java.lang.Object

Unique key to a java method.

Author:
Ryan Heaton

Constructor Summary
protected MethodKey()
           
  MethodKey(java.lang.String classDescriptor, java.lang.String methodName, java.lang.String methodDescriptor)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getClassDescriptor()
          The descriptor for the class that declares this method.
 java.lang.String getMethodDescriptor()
          The method descriptor (see Type).
 java.lang.String getMethodName()
          The method name.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodKey

protected MethodKey()

MethodKey

public MethodKey(java.lang.String classDescriptor,
                 java.lang.String methodName,
                 java.lang.String methodDescriptor)
Method Detail

getClassDescriptor

public java.lang.String getClassDescriptor()
The descriptor for the class that declares this method.

Returns:
The descriptor for the class that declares this method.

getMethodName

public java.lang.String getMethodName()
The method name.

Returns:
The method name.

getMethodDescriptor

public java.lang.String getMethodDescriptor()
The method descriptor (see Type).

Returns:
The method descriptor.

equals

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

hashCode

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