blob: 032de1f56f8ca32436cc57df4082403a17c4f207 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.debug.core;
import org.eclipse.core.runtime.CoreException;
/**
* A breakpoint that suspends execution when a class is prepared in
* a target VM.
*
* @since 3.0
*/
public interface IJavaClassPrepareBreakpoint extends IJavaBreakpoint {
/**
* Constant indicating a class prepare breakpoint is associated with a
* class type.
*/
public static final int TYPE_CLASS = 0;
/**
* Constant indicating a class prepare breakpoint is associated with an
* interface type.
*/
public static final int TYPE_INTERFACE = 1;
/**
* Returns a constant indicating what kind of type this breakpoint
* is associated with.
*
* @return one of <code>TYPE_CLASS</code> or <code>TYPE_INTERFACE</code>
* @throws CoreException if unable to retrieve the attribute
*/
public int getMemberType() throws CoreException;
}