Class JavaHelper

java.lang.Object
org.intellij.grammar.java.JavaHelper
Direct Known Subclasses:
JavaHelper.AsmHelper, JavaHelper.ReflectionHelper

public abstract class JavaHelper extends Object
  • Constructor Details

    • JavaHelper

      public JavaHelper()
  • Method Details

    • getJavaHelper

      public static JavaHelper getJavaHelper(@NotNull @NotNull com.intellij.psi.PsiElement context)
    • isPublic

      public abstract boolean isPublic(@Nullable @Nullable com.intellij.psi.NavigatablePsiElement element)
    • findClass

      @Nullable public @Nullable com.intellij.psi.NavigatablePsiElement findClass(@Nullable @Nullable String className)
    • findClassMethods

      @NotNull public @NotNull List<com.intellij.psi.NavigatablePsiElement> findClassMethods(@Nullable @Nullable String className, @NotNull @NotNull JavaHelper.MethodType methodType, @Nullable @Nullable String methodName, int paramCount, String... paramTypes)
    • getSuperClassName

      @Nullable public @Nullable String getSuperClassName(@Nullable @Nullable String className)
    • getMethodTypes

      @NotNull public @NotNull List<String> getMethodTypes(@Nullable @Nullable com.intellij.psi.NavigatablePsiElement method)
    • getGenericParameters

      public List<JavaHelper.TypeParameterInfo> getGenericParameters(com.intellij.psi.NavigatablePsiElement method)
    • getExceptionList

      public List<String> getExceptionList(com.intellij.psi.NavigatablePsiElement method)
    • getDeclaringClass

      @NotNull public @NotNull String getDeclaringClass(@Nullable @Nullable com.intellij.psi.NavigatablePsiElement method)
    • getAnnotations

      @NotNull public @NotNull List<String> getAnnotations(@Nullable @Nullable com.intellij.psi.NavigatablePsiElement element)
    • getParameterAnnotations

      @NotNull public @NotNull List<String> getParameterAnnotations(@Nullable @Nullable com.intellij.psi.NavigatablePsiElement method, int paramIndex)
    • getClassReferences

      public com.intellij.psi.PsiReference @NotNull [] getClassReferences(@NotNull @NotNull com.intellij.psi.PsiElement element, @NotNull @NotNull com.intellij.util.ProcessingContext context)
    • findPackage

      @Nullable public @Nullable com.intellij.navigation.NavigationItem findPackage(@Nullable @Nullable String packageName)