|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.js.pattern.ProxyGenerator.GeneratedMethod
This class describes a generated method. The class is used to guarantee, that the generated methods are unique, even if multiple interfaces define them.
Constructor Summary | |
protected |
ProxyGenerator.GeneratedMethod()
|
Method Summary | |
int |
compareTo(java.lang.Object o)
Compares this GeneratedMethod to the given GeneratedMethod o .
|
boolean |
equals(java.lang.Object o)
Returns whether this GeneratedMethod equals the object o .
|
java.lang.Class |
getDeclaringInterface()
Returns the interface declaring this method. |
JavaMethod |
getMethod()
Returns the JavaMethod generated for this method. |
java.lang.String |
getName()
Returns the methods name. |
java.lang.Class[] |
getParameters()
Returns the methods parameters. |
int |
hashCode()
|
void |
setDeclaringInterface(java.lang.Class pInterface)
Sets the interface declaring this method. |
void |
setMethod(JavaMethod pMethod)
Sets the JavaMethod generated for this method. |
void |
setName(java.lang.String pName)
Sets the methods name. |
void |
setParameters(java.lang.Class[] pParameters)
Sets the methods parameters. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ProxyGenerator.GeneratedMethod()
Method Detail |
public void setMethod(JavaMethod pMethod)
Sets the JavaMethod generated for this method.
public JavaMethod getMethod()
Returns the JavaMethod generated for this method.
public void setName(java.lang.String pName)
Sets the methods name.
public java.lang.String getName()
Returns the methods name.
public void setParameters(java.lang.Class[] pParameters)
Sets the methods parameters.
public java.lang.Class[] getParameters()
Returns the methods parameters.
public void setDeclaringInterface(java.lang.Class pInterface)
Sets the interface declaring this method.
public java.lang.Class getDeclaringInterface()
Returns the interface declaring this method.
public boolean equals(java.lang.Object o)
Returns whether this GeneratedMethod equals the object o
.
This is the case, if o != null
, o instanceof GeneratedMethod
,
and compareTo(o) != 0
.
public int compareTo(java.lang.Object o)
Compares this GeneratedMethod to the given GeneratedMethod o
.
More precise, compares the method name, the number of parameters and the
class names of the parameters, in that order.
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
- The object o is not an instance of GeneratedMethod.public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |