1 /******************************************************************************* 2 * Copyright (c) 2000, 2015 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package com.sun.jdi; 15 16 import java.util.List; 17 /** 18 * See http://docs.oracle.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/Method.html 19 */ 20 public interface Method extends TypeComponent, Locatable, Comparable<Method> { allLineLocations()21 public List<Location> allLineLocations() throws AbsentInformationException; allLineLocations(String arg1, String arg2)22 public List<Location> allLineLocations(String arg1, String arg2) throws AbsentInformationException; arguments()23 public List<LocalVariable> arguments() throws AbsentInformationException; argumentTypeNames()24 public List<String> argumentTypeNames(); argumentTypes()25 public List<Type> argumentTypes() throws ClassNotLoadedException; bytecodes()26 public byte[] bytecodes(); 27 @Override equals(Object arg1)28 public boolean equals(Object arg1); 29 @Override hashCode()30 public int hashCode(); isAbstract()31 public boolean isAbstract(); isBridge()32 public boolean isBridge(); isConstructor()33 public boolean isConstructor(); isNative()34 public boolean isNative(); isObsolete()35 public boolean isObsolete(); isStaticInitializer()36 public boolean isStaticInitializer(); isSynchronized()37 public boolean isSynchronized(); isVarArgs()38 public boolean isVarArgs(); locationOfCodeIndex(long arg1)39 public Location locationOfCodeIndex(long arg1); locationsOfLine(int arg1)40 public List<Location> locationsOfLine(int arg1) throws AbsentInformationException; locationsOfLine(String arg1, String arg2, int arg3)41 public List<Location> locationsOfLine(String arg1, String arg2, int arg3) throws AbsentInformationException; returnType()42 public Type returnType() throws ClassNotLoadedException; returnTypeName()43 public String returnTypeName(); variables()44 public List<LocalVariable> variables() throws AbsentInformationException; variablesByName(String arg1)45 public List<LocalVariable> variablesByName(String arg1) throws AbsentInformationException; 46 } 47