diff options
Diffstat (limited to 'platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/JsonSubtype.java')
-rw-r--r-- | platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/JsonSubtype.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/JsonSubtype.java b/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/JsonSubtype.java new file mode 100644 index 000000000000..b40d4a1b7687 --- /dev/null +++ b/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/JsonSubtype.java @@ -0,0 +1,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(); +} |