public abstract class ReferenceSetBase<T extends PsiReference>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
DOT_SEPARATOR |
Constructor and Description |
---|
ReferenceSetBase(PsiElement element) |
ReferenceSetBase(PsiElement element,
int offset) |
ReferenceSetBase(java.lang.String text,
PsiElement element,
int offset,
char separator) |
Modifier and Type | Method and Description |
---|---|
protected T |
createReference(TextRange range,
int index) |
protected java.util.List<T> |
createReferences(TextRange range,
int index) |
protected int |
findNextSeparator(java.lang.String str,
int current) |
PsiElement |
getElement() |
T |
getLastReference() |
PsiReference [] |
getPsiReferences() |
T |
getReference(int index) |
java.util.List<T> |
getReferences() |
boolean |
isSoft() |
protected java.util.List<T> |
parse(java.lang.String str,
int offset) |
public static final char DOT_SEPARATOR
public ReferenceSetBase(PsiElement element)
public ReferenceSetBase(PsiElement element, int offset)
public ReferenceSetBase(java.lang.String text, PsiElement element, int offset, char separator)
public boolean isSoft()
protected java.util.List<T> parse(java.lang.String str, int offset)
protected int findNextSeparator(java.lang.String str, int current)
public PsiElement getElement()
public java.util.List<T> getReferences()
public PsiReference [] getPsiReferences()
public T getReference(int index)
public T getLastReference()