org.chromium.sdk/src/org/chromium/sdk/internal/protocol/data/RefWithDisplayData.java
equal
deleted
inserted
replaced
|
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.protocol.data; |
|
6 |
|
7 import org.chromium.sdk.internal.protocolparser.JsonNullable; |
|
8 import org.chromium.sdk.internal.protocolparser.JsonOptionalField; |
|
9 import org.chromium.sdk.internal.protocolparser.JsonOverrideField; |
|
10 import org.chromium.sdk.internal.protocolparser.JsonSubtype; |
|
11 import org.chromium.sdk.internal.protocolparser.JsonSubtypeCondition; |
|
12 import org.chromium.sdk.internal.protocolparser.JsonType; |
|
13 |
|
14 /** |
|
15 * A reference (a pointer) to an object, that prefetches some of its key properties. |
|
16 * <p>Gets serialized in mirror-delay.js, |
|
17 * JSONProtocolSerializer.prototype.serializeReferenceWithDisplayData_ |
|
18 */ |
|
19 @JsonType |
|
20 public interface RefWithDisplayData extends JsonSubtype<SomeRef> { |
|
21 |
|
22 @JsonOverrideField |
|
23 long ref(); |
|
24 |
|
25 @JsonSubtypeCondition |
|
26 String type(); |
|
27 |
|
28 @JsonOptionalField |
|
29 String className(); |
|
30 |
|
31 @JsonOptionalField |
|
32 @JsonNullable |
|
33 Object value(); |
|
34 |
|
35 |
|
36 // For function. |
|
37 @JsonOptionalField |
|
38 String inferredName(); |
|
39 |
|
40 @JsonOptionalField |
|
41 Long scriptId(); |
|
42 } |