| |
|
| java.lang.Object ch.ethz.prose.query.Surrogate ch.ethz.prose.query.MethodSurrogate
MethodSurrogate | public class MethodSurrogate extends Surrogate implements java.io.Serializable(Code) | | Class MethodSurrogate represents a Method object.
version: $Revision: 1.1.1.1 $ author: Philippe Schoch |
MethodSurrogate | public MethodSurrogate(Method m)(Code) | | Constructs a new instance representing method m
Parameters: m - the method to represent |
equals | public boolean equals(Object o)(Code) | | Compares this instance with the passed object. Attention, this method has a
different semantic than the one in the Method class!!!
true if the passed object is of type MethodSurrogateand has the same name and parameter types. |
getName | public String getName()(Code) | | Returns the name of the contained method
the name of the represented method |
getParameterTypes | public String[] getParameterTypes()(Code) | | Returns the input parameter types of the contained method.
the parameter types of the represented method as String Array. |
hashCode | public int hashCode()(Code) | | |
toString | public String toString()(Code) | | Returns a string describing this FieldSurrogate . The format is the method name
followed by an opening paranthesis and all paramter types separated by colons and an closing paranthesis.
|
|
|
|