net.sf.metagloss.injection
Class AnnotatedMethod
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AnnotatedMethod
protected AnnotatedMethod(java.lang.reflect.Method method,
java.lang.annotation.Annotation annotation)
- Creates a new
AnnotatedMethod.
- Parameters:
method - Method.annotation - Method's annotation.
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()