2
|
1 |
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
|
2 |
// Use of this source code is governed by a BSD-style license that can be
|
|
3 |
// found in the LICENSE file.
|
|
4 |
|
|
5 |
package org.chromium.sdk.internal;
|
|
6 |
|
|
7 |
/**
|
|
8 |
* Datum that describes scope piece of information that comes from "scopes" response.
|
|
9 |
*/
|
|
10 |
public class ScopeMirror {
|
|
11 |
|
|
12 |
public ScopeMirror(int type, int index) {
|
|
13 |
this.type = type;
|
|
14 |
this.index = index;
|
|
15 |
}
|
|
16 |
|
|
17 |
int getType() {
|
|
18 |
return type;
|
|
19 |
}
|
|
20 |
|
|
21 |
int getIndex() {
|
|
22 |
return index;
|
|
23 |
}
|
|
24 |
|
|
25 |
@Override
|
|
26 |
public String toString() {
|
|
27 |
return "scope type=" + type + " index=" + index;
|
|
28 |
}
|
|
29 |
|
|
30 |
private final int type;
|
|
31 |
private final int index;
|
|
32 |
}
|