private static class ConvertedClassName.Method
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
javaName
The name of the method.
|
private ParameterKey[] |
signature
The list of parameters.
|
Constructor and Description |
---|
Method(java.lang.String javaName,
Aast mAst)
The constructor for this immutable class.
|
Method(java.lang.String javaName,
ParameterKey[] signature)
The constructor for this immutable class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Test
other object for equality. |
int |
hashCode()
Computes the hash code for this object.
|
private final java.lang.String javaName
private final ParameterKey[] signature
null
when no parameters are present.Method(java.lang.String javaName, Aast mAst)
javaName
- The Java name of the method.mAst
- The Aast
of the method. It is used to extract the signature of
the method.Method(java.lang.String javaName, ParameterKey[] signature)
javaName
- The Java name of the method.signature
- The signature for this method definition.public boolean equals(java.lang.Object other)
other
object for equality.equals
in class java.lang.Object
other
- The object to compare to.true
only if the other
object is equal to this one.public int hashCode()
hashCode
in class java.lang.Object