com.google.dexmaker
Class MethodId<D,R>

java.lang.Object
  extended by com.google.dexmaker.MethodId<D,R>
Type Parameters:
D - the type declaring this field
R - the return type of this method

public final class MethodId<D,R>
extends Object

Identifies a method or constructor.


Method Summary
 boolean equals(Object o)
           
 TypeId<D> getDeclaringType()
           
 String getName()
          Returns the method's name.
 List<TypeId<?>> getParameters()
           
 TypeId<R> getReturnType()
           
 int hashCode()
           
 boolean isConstructor()
          Returns true if this method is a constructor for its declaring class.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getDeclaringType

public TypeId<D> getDeclaringType()

getReturnType

public TypeId<R> getReturnType()

isConstructor

public boolean isConstructor()
Returns true if this method is a constructor for its declaring class.


getName

public String getName()
Returns the method's name. This is "" if this is a constructor.


getParameters

public List<TypeId<?>> getParameters()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object