| /******************************************************************************* |
| * Copyright (c) 2000, 2011 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/ClassType.html |
| */ |
| public interface ClassType extends ReferenceType { |
| public static final int INVOKE_SINGLE_THREADED = 1; |
| public List<InterfaceType> allInterfaces(); |
| public Method concreteMethodByName(String arg1, String arg2); |
| public List<InterfaceType> interfaces(); |
| public Value invokeMethod(ThreadReference arg1, Method arg2, List<? extends Value> arg3, int arg4) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException; |
| public boolean isEnum(); |
| public ObjectReference newInstance(ThreadReference arg1, Method arg2, List<? extends Value> arg3, int arg4) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException; |
| public void setValue(Field arg1, Value arg2) throws InvalidTypeException, ClassNotLoadedException; |
| public List<ClassType> subclasses(); |
| public ClassType superclass(); |
| } |