summaryrefslogtreecommitdiff
path: root/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/JsonSubtype.java
blob: b40d4a1b768721d7d95fc1a6b4779ff1e941da45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.jetbrains.jsonProtocol;

/**
 * A base interface for JSON subtype interface. This inheritance serves 2 purposes:
 * it declares base type (visible to human and to interface analyzer) and adds {@link #getSuper()}
 * getter that may be directly used in programs.
 */
public interface JsonSubtype<BASE> {
  BASE getSuper();
}