com.google.dexmaker
Class MethodId<D,R>
java.lang.Object
com.google.dexmaker.MethodId<D,R>
public final class MethodId<D,R>
- extends java.lang.Object
Identifies a method or constructor.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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