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.protocolparser; |
|
6 |
|
7 /** |
|
8 * A base interface for JSON subtype interface. This inheritance serves 2 purposes: |
|
9 * it declares base type (visible to human and to interface analyzer) and adds {@link #getSuper()} |
|
10 * getter that may be directly used in programs. |
|
11 */ |
|
12 public interface JsonSubtype<BASE> { |
|
13 BASE getSuper(); |
|
14 } |