java.lang.Object com.sun.tools.javac.code.Symbol com.sun.tools.javac.code.Symbol.DelegatedSymbol com.sun.tools.javac.jvm.Pool$Method
All Implemented Interfaces: Element
Method(MethodSymbol m) { super(m); this.m = m; }
{ super(m); this.m = m; }
public boolean equals(Object other) { if (!(other instanceof Method)) return false; MethodSymbol o = ((Method)other).m; return o.name == m.name && o.owner == m.owner && o.type.equals(m.type); }
{ if (!(other instanceof Method)) return false; MethodSymbol o = ((Method)other).m; return o.name == m.name && o.owner == m.owner && o.type.equals(m.type); }
public int hashCode() { return m.name.hashCode() * 33 + m.owner.hashCode() * 9 + m.type.hashCode(); }
{ return m.name.hashCode() * 33 + m.owner.hashCode() * 9 + m.type.hashCode(); }