KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > debug > core > IJavaClassPrepareBreakpoint


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.debug.core;
12
13 import org.eclipse.core.runtime.CoreException;
14
15 /**
16  * A breakpoint that suspends execution when a class is prepared in
17  * a target VM.
18  * <p>
19  * Clients are not intended to implement this interface.
20  * </p>
21  * @since 3.0
22  */

23 public interface IJavaClassPrepareBreakpoint extends IJavaBreakpoint {
24     
25     /**
26      * Constant indicating a class prepare breakpoint is associated with a
27      * class type.
28      */

29     public static final int TYPE_CLASS = 0;
30     /**
31      * Constant indicating a class prepare breakpoint is associated with an
32      * interface type.
33      */

34     public static final int TYPE_INTERFACE = 1;
35     
36     /**
37      * Returns a constant indicating what kind of type this breakpoint
38      * is associated with.
39      *
40      * @return one of <code>TYPE_CLASS</code> or <code>TYPE_INTERFACE</code>
41      * @throws CoreException if unable to retrieve the attribute
42      */

43     public int getMemberType() throws CoreException;
44 }
45
Popular Tags