blob: 8c2fc8ae8b60d8776f89b82e864d1b1e236c7519 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package com.sun.jdi;
import java.util.List;
/**
* See http://docs.oracle.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/Method.html
*/
public interface Method extends TypeComponent, Locatable, Comparable<Method> {
public List<Location> allLineLocations() throws AbsentInformationException;
public List<Location> allLineLocations(String arg1, String arg2) throws AbsentInformationException;
public List<LocalVariable> arguments() throws AbsentInformationException;
public List<String> argumentTypeNames();
public List<Type> argumentTypes() throws ClassNotLoadedException;
public byte[] bytecodes();
@Override
public boolean equals(Object arg1);
@Override
public int hashCode();
public boolean isAbstract();
public boolean isBridge();
public boolean isConstructor();
public boolean isNative();
public boolean isObsolete();
public boolean isStaticInitializer();
public boolean isSynchronized();
public boolean isVarArgs();
public Location locationOfCodeIndex(long arg1);
public List<Location> locationsOfLine(int arg1) throws AbsentInformationException;
public List<Location> locationsOfLine(String arg1, String arg2, int arg3) throws AbsentInformationException;
public Type returnType() throws ClassNotLoadedException;
public String returnTypeName();
public List<LocalVariable> variables() throws AbsentInformationException;
public List<LocalVariable> variablesByName(String arg1) throws AbsentInformationException;
}