org.springframework.config.java.model
Class ModelMethod
java.lang.Object
org.springframework.config.java.model.ModelMethod
public class ModelMethod
- extends java.lang.Object
TODO: JAVADOC
Constructor Summary |
ModelMethod(java.lang.String name,
int modifiers,
java.lang.annotation.Annotation[] annotations)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ModelMethod
public ModelMethod(java.lang.String name,
int modifiers,
java.lang.annotation.Annotation[] annotations)
getName
public java.lang.String getName()
getModifiers
public int getModifiers()
- See Also:
Modifier
getAnnotations
protected java.lang.annotation.Annotation[] getAnnotations()
addAnnotation
public void addAnnotation(java.lang.annotation.Annotation annotation)
setDeclaringClass
public void setDeclaringClass(ModelClass declaringClass)
getDeclaringClass
public ModelClass getDeclaringClass()
setLineNumber
public void setLineNumber(int lineNumber)
getLineNumber
public int getLineNumber()
forMethod
public static ModelMethod forMethod(java.lang.reflect.Method method)
- Create a ModelMethod representation of a.
Method
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
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