1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *     http://www.apache.org/licenses/LICENSE-2.0
10 *
11 *  Unless required by applicable law or agreed to in writing, software
12 *  distributed under the License is distributed on an "AS IS" BASIS,
13 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 *
15 *  See the License for the specific language governing permissions and
16 *  limitations under the License.
17 */
18
19/**
20 * @author Aleksey V. Yantsen
21 */
22
23/**
24 * Created on 12.03.2004
25 */
26package org.apache.harmony.jpda.tests.framework;
27
28/**
29 * This class provides info about breakpoint.
30 */
31public class Breakpoint {
32    public String className;
33    public String methodName;
34    public long   index;
35
36    /**
37     * Creates Breakpoint instance with default values.
38     */
39    Breakpoint() {
40        className = new String();
41        methodName = new String();
42        index = 0;
43    }
44
45    /**
46     * Creates Breakpoint instance with given data.
47     *
48     * @param clazz Class in which breakpoint is created
49     * @param method Method in which breakpoint is created
50     * @param location Location within the method
51     */
52    public Breakpoint(String clazz, String method, int location) {
53        className = clazz;
54        methodName = method;
55        index = location;
56    }
57}