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

java.lang.Object
  extended by com.google.dexmaker.MethodId<D,R>

public final class MethodId<D,R>
extends java.lang.Object

Identifies a method or constructor.


Method Summary
 boolean equals(java.lang.Object o)
           
 TypeId<D> getDeclaringType()
           
 java.lang.String getName()
          Returns the method's name.
 java.util.List<TypeId<?>> getParameters()
           
 TypeId<R> getReturnType()
           
 int hashCode()
           
 java.lang.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()

getName

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


getParameters

public java.util.List<TypeId<?>> getParameters()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object