public class ReferenceParser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ReferenceParser.TypeInfo |
Modifier and Type | Field and Description |
---|---|
static int |
CONJUNCTIONS |
static int |
DIAMONDS |
static int |
DISJUNCTIONS |
static int |
EAT_LAST_DOT |
static int |
ELLIPSIS |
static int |
INCOMPLETE_ANNO |
static int |
VAR_TYPE |
static int |
WILDCARD |
Constructor and Description |
---|
ReferenceParser(JavaParser javaParser) |
Modifier and Type | Method and Description |
---|---|
boolean |
parseImportCodeReference(PsiBuilder builder,
boolean isStatic) |
PsiBuilder.Marker |
parseJavaCodeReference(PsiBuilder builder,
boolean eatLastDot,
boolean parameterList,
boolean isNew,
boolean diamonds) |
boolean |
parseReferenceList(PsiBuilder builder,
IElementType start,
IElementType type,
IElementType delimiter) |
boolean |
parseReferenceParameterList(PsiBuilder builder,
boolean wildcard,
boolean diamonds) |
PsiBuilder.Marker |
parseType(PsiBuilder builder,
int flags) |
ReferenceParser.TypeInfo |
parseTypeInfo(PsiBuilder builder,
int flags) |
PsiBuilder.Marker |
parseTypeParameter(PsiBuilder builder) |
PsiBuilder.Marker |
parseTypeParameters(PsiBuilder builder) |
public static final int EAT_LAST_DOT
public static final int ELLIPSIS
public static final int WILDCARD
public static final int DIAMONDS
public static final int DISJUNCTIONS
public static final int CONJUNCTIONS
public static final int INCOMPLETE_ANNO
public static final int VAR_TYPE
public ReferenceParser(JavaParser javaParser)
public PsiBuilder.Marker parseType(PsiBuilder builder, int flags)
public ReferenceParser.TypeInfo parseTypeInfo(PsiBuilder builder, int flags)
public PsiBuilder.Marker parseJavaCodeReference(PsiBuilder builder, boolean eatLastDot, boolean parameterList, boolean isNew, boolean diamonds)
public boolean parseImportCodeReference(PsiBuilder builder, boolean isStatic)
public boolean parseReferenceParameterList(PsiBuilder builder, boolean wildcard, boolean diamonds)
public PsiBuilder.Marker parseTypeParameters(PsiBuilder builder)
public PsiBuilder.Marker parseTypeParameter(PsiBuilder builder)
public boolean parseReferenceList(PsiBuilder builder, IElementType start, IElementType type, IElementType delimiter)