public abstract class JspSpiUtil
extends java.lang.Object
Constructor and Description |
---|
JspSpiUtil() |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
_escapeCharsInJspContext(JspFile file,
int offset,
java.lang.String toEscape) |
protected abstract PsiFile [] |
_getIncludedFiles(JspFile jspFile) |
protected abstract PsiFile[] |
_getIncludingFiles(PsiFile file) |
protected abstract IElementType |
_getJspElementType(JspElementType.Kind kind) |
protected abstract java.lang.Object[] |
_getMethodPropertyReferenceVariants(PsiReference reference,
PsiClass resolvedClass,
boolean readable) |
abstract boolean |
_isIncluded(JspFile jspFile) |
protected abstract boolean |
_isIncludingAnything(JspFile jspFile) |
protected abstract PsiElement |
_resolveMethodPropertyReference(PsiReference reference,
PsiClass resolvedClass,
boolean readable) |
protected abstract void |
_visitAllIncludedFilesRecursively(BaseJspFile jspFile,
Processor<BaseJspFile> visitor) |
static java.util.List<java.net.URL> |
buildUrls(VirtualFile virtualFile,
Module module) |
static java.util.List<java.net.URL> |
buildUrls(VirtualFile virtualFile,
Module module,
boolean includeModuleOutput) |
static int |
escapeCharsInJspContext(JspFile file,
int offset,
java.lang.String toEscape) |
static PsiFile[] |
getIncludedFiles(JspFile jspFile) |
static PsiFile[] |
getIncludingFiles(JspFile jspFile) |
static IElementType |
getJspElementType(JspElementType.Kind kind) |
static IElementType |
getJspExpressionType() |
static IElementType |
getJspScriptletType() |
static java.lang.Object [] |
getMethodPropertyReferenceVariants(PsiReference reference,
PsiClass resolvedClass,
boolean readable) |
static boolean |
isIncluded(JspFile jspFile) |
static boolean |
isIncludedOrIncludesSomething(JspFile file) |
static boolean |
isIncludingAnything(JspFile jspFile) |
static boolean |
isJarFile(VirtualFile file) |
static boolean |
isJavaContext(PsiElement position) |
static void |
processClassPathItems(VirtualFile virtualFile,
Module module,
Consumer<? super VirtualFile> consumer) |
static void |
processClassPathItems(VirtualFile virtualFile,
Module module,
Consumer<? super VirtualFile> consumer,
boolean includeModuleOutput) |
static PsiElement |
resolveMethodPropertyReference(PsiReference reference,
PsiClass resolvedClass,
boolean readable) |
static void |
visitAllIncludedFilesRecursively(BaseJspFile jspFile,
Processor<BaseJspFile> visitor) |
public static int escapeCharsInJspContext(JspFile file, int offset, java.lang.String toEscape) throws IncorrectOperationException
IncorrectOperationException
protected abstract int _escapeCharsInJspContext(JspFile file, int offset, java.lang.String toEscape) throws IncorrectOperationException
IncorrectOperationException
public static void visitAllIncludedFilesRecursively(BaseJspFile jspFile, Processor<BaseJspFile> visitor)
protected abstract void _visitAllIncludedFilesRecursively(BaseJspFile jspFile, Processor<BaseJspFile> visitor)
public static PsiElement resolveMethodPropertyReference(PsiReference reference, PsiClass resolvedClass, boolean readable)
protected abstract PsiElement _resolveMethodPropertyReference(PsiReference reference, PsiClass resolvedClass, boolean readable)
public static java.lang.Object [] getMethodPropertyReferenceVariants(PsiReference reference, PsiClass resolvedClass, boolean readable)
protected abstract java.lang.Object[] _getMethodPropertyReferenceVariants(PsiReference reference, PsiClass resolvedClass, boolean readable)
public static boolean isIncludedOrIncludesSomething(JspFile file)
public static boolean isIncluded(JspFile jspFile)
public abstract boolean _isIncluded(JspFile jspFile)
public static boolean isIncludingAnything(JspFile jspFile)
protected abstract boolean _isIncludingAnything(JspFile jspFile)
public static boolean isJavaContext(PsiElement position)
public static boolean isJarFile(VirtualFile file)
public static java.util.List<java.net.URL> buildUrls(VirtualFile virtualFile, Module module)
public static java.util.List<java.net.URL> buildUrls(VirtualFile virtualFile, Module module, boolean includeModuleOutput)
public static void processClassPathItems(VirtualFile virtualFile, Module module, Consumer<? super VirtualFile> consumer)
public static void processClassPathItems(VirtualFile virtualFile, Module module, Consumer<? super VirtualFile> consumer, boolean includeModuleOutput)
public static IElementType getJspElementType(JspElementType.Kind kind)
public static IElementType getJspScriptletType()
public static IElementType getJspExpressionType()
protected abstract IElementType _getJspElementType(JspElementType.Kind kind)