public class TypeInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte |
arrayCount |
boolean |
isEllipsis |
java.lang.String |
text |
Constructor and Description |
---|
TypeInfo(java.lang.String text,
byte arrayCount,
boolean ellipsis,
PsiAnnotationStub [] annotationStubs) |
Modifier and Type | Method and Description |
---|---|
TypeInfo |
applyAnnotations(StubBase<?> owner) |
static TypeInfo |
create(LighterAST tree,
LighterASTNode element,
StubElement parentStub) |
static TypeInfo |
createConstructorType() |
static java.lang.String |
createTypeText(TypeInfo typeInfo) |
static TypeInfo |
fromString(java.lang.String typeText) |
static TypeInfo |
fromString(java.lang.String typeText,
boolean isEllipsis) |
java.lang.String |
getShortTypeText() |
static java.lang.String |
internFrequentType(java.lang.String type) |
static TypeInfo |
readTYPE(StubInputStream record) |
java.lang.String |
toString() |
static void |
writeTYPE(StubOutputStream dataStream,
TypeInfo typeInfo) |
public final java.lang.String text
public final byte arrayCount
public final boolean isEllipsis
public TypeInfo(java.lang.String text, byte arrayCount, boolean ellipsis, PsiAnnotationStub [] annotationStubs)
public java.lang.String getShortTypeText()
public java.lang.String toString()
toString
in class java.lang.Object
public static TypeInfo createConstructorType()
public static TypeInfo create(LighterAST tree, LighterASTNode element, StubElement parentStub)
public static TypeInfo fromString(java.lang.String typeText, boolean isEllipsis)
public static TypeInfo fromString(java.lang.String typeText)
public static TypeInfo readTYPE(StubInputStream record) throws java.io.IOException
java.io.IOException
public static void writeTYPE(StubOutputStream dataStream, TypeInfo typeInfo) throws java.io.IOException
java.io.IOException
public static java.lang.String createTypeText(TypeInfo typeInfo)
public static java.lang.String internFrequentType(java.lang.String type)