Class JavaPsiTreeUtils


  • public class JavaPsiTreeUtils
    extends java.lang.Object
    Date: 15/05/2017
    Author:
    Yaron Yamin
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull java.util.List<ResolvedMethodCall> findMethodCalls​(com.intellij.psi.PsiMethod psiMethod)  
      static @NotNull java.util.List<com.intellij.psi.PsiMethod> findMethodReferences​(com.intellij.psi.PsiMethod psiMethod)  
      static @NotNull java.util.List<ResolvedReference> findReferences​(com.intellij.psi.PsiMethod psiMethod)  
      static java.util.List<java.lang.String> resolveEnumValues​(com.intellij.psi.PsiClass psiClass, java.lang.Object typePsiElement)  
      static boolean resolveIfEnum​(com.intellij.psi.PsiClass psiClass)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaPsiTreeUtils

        public JavaPsiTreeUtils()
    • Method Detail

      • findReferences

        @NotNull
        public static @NotNull java.util.List<ResolvedReference> findReferences​(com.intellij.psi.PsiMethod psiMethod)
      • findMethodReferences

        @NotNull
        public static @NotNull java.util.List<com.intellij.psi.PsiMethod> findMethodReferences​(com.intellij.psi.PsiMethod psiMethod)
      • findMethodCalls

        @NotNull
        public static @NotNull java.util.List<ResolvedMethodCall> findMethodCalls​(com.intellij.psi.PsiMethod psiMethod)
      • resolveIfEnum

        public static boolean resolveIfEnum​(com.intellij.psi.PsiClass psiClass)
      • resolveEnumValues

        public static java.util.List<java.lang.String> resolveEnumValues​(com.intellij.psi.PsiClass psiClass,
                                                                         java.lang.Object typePsiElement)