package java.lang.reflect {
import java.lang.Class__;
import java.lang.Class__;
import java.lang.IllegalAccessException;
import java.lang.IllegalArgumentException;
import java.lang.JavaArray;
dynamic public class Method extends AccessibleObject implements Member {
  internal var declaringClass: Class__;
  internal var modifiers: int;
  internal var name: String;
  public function equals__Ljava_lang_Object_2(other: Object): Boolean {
    if (this === other)
      return true;
    if (!(other is Method))
      return false;
    var mth: Method = Method(other);
    return declaringClass === mth.declaringClass && modifiers == mth.modifiers && Object(name).equals__Ljava_lang_Object_2(mth.name);
  }
  public function getDeclaringClass__(): Class__ {
    return declaringClass;
  }
  public function getExceptionTypes__(): JavaArray {
    return new JavaArray("[Ljava/lang/Class;").lengths(0);
  }
  public function getModifiers__(): int {
    return modifiers;
  }
  public function getName__(): String {
    return name;
  }
  public function getParameterTypes__(): JavaArray {
    return new JavaArray("[Ljava/lang/Class;").lengths(0);
  }
  public function getReturnType__(): Class__ {
    return null;
  }
  public function hashCode__(): int {
    return Object(Object.prototype).hashCode__.call(this);
  }
  public function invoke__Ljava_lang_Object_2_3Ljava_lang_Object_2(obj: Object, args: JavaArray): Object {
    return null;
  }
  public function toString__(): String {
    return Object(Object.prototype).toString__.call(this);
  }
}
}
