blob: 3f4b8ea839ac4c826e47396c8fd6fdafbfe60ea3 [file] [log] [blame]
package org.jetbrains.protocolReader;
abstract class BoxableType {
static final BoxableType STRING = new StandaloneType(new NamePath("String"), "writeString");
static final BoxableType ANY_STRING = new StandaloneType(new NamePath("String"), "writeString");
static final BoxableType INT = new StandaloneType(new NamePath("int"), "writeInt");
static final BoxableType LONG = new StandaloneType(new NamePath("long"), "writeLong");
static final BoxableType NUMBER = new StandaloneType(new NamePath("double"), "writeDouble");
static final BoxableType BOOLEAN = new StandaloneType(new NamePath("boolean"), "writeBoolean");
static final BoxableType MAP = new StandaloneType(new NamePath("java.util.Map<String, String>"), "writeMap");
abstract CharSequence getFullText();
abstract String getShortText(NamePath contextNamespace);
abstract String getWriteMethodName();
}