metagloss 0.0.2

net.sf.metagloss.injection
Class AnnotatedMethod

java.lang.Object
  extended by net.sf.metagloss.injection.AnnotatedMethod

public class AnnotatedMethod
extends java.lang.Object

The AnnotatedMethod class is used by the InjectionManager for caching bound Methods and Annotations.


Constructor Summary
protected AnnotatedMethod(java.lang.reflect.Method method, java.lang.annotation.Annotation annotation)
          Creates a new AnnotatedMethod.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.annotation.Annotation getAnnotation()
           
 java.lang.reflect.Method getMethod()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedMethod

protected AnnotatedMethod(java.lang.reflect.Method method,
                          java.lang.annotation.Annotation annotation)
Creates a new AnnotatedMethod.

Parameters:
method - Method.
annotation - Method's annotation.
Method Detail

hashCode

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

equals

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMethod

public java.lang.reflect.Method getMethod()

getAnnotation

public java.lang.annotation.Annotation getAnnotation()