org.chromium.sdk/src/org/chromium/sdk/internal/protocol/data/ObjectValueHandle.java
changeset 2 e4420d2515f1
equal deleted inserted replaced
1:ef76fc2ac88c 2:e4420d2515f1
       
     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 java.util.List;
       
     8 
       
     9 import org.chromium.sdk.internal.protocolparser.JsonOptionalField;
       
    10 import org.chromium.sdk.internal.protocolparser.JsonSubtype;
       
    11 import org.chromium.sdk.internal.protocolparser.JsonSubtypeCasting;
       
    12 import org.chromium.sdk.internal.protocolparser.JsonSubtypeCondition;
       
    13 import org.chromium.sdk.internal.protocolparser.JsonType;
       
    14 
       
    15 @JsonType
       
    16 public interface ObjectValueHandle extends JsonSubtype<ValueHandle> {
       
    17   @JsonSubtypeCondition
       
    18   List<PropertyObject> properties();
       
    19   SomeRef protoObject();
       
    20   SomeRef constructorFunction();
       
    21 
       
    22   @JsonOptionalField
       
    23   SomeRef prototypeObject();
       
    24 
       
    25   @JsonSubtypeCasting
       
    26   FunctionValueHandle asFunction();
       
    27 
       
    28   @JsonSubtypeCasting
       
    29   void notFunction();
       
    30 }