Class ScalaPsiTreeUtils


  • public class ScalaPsiTreeUtils
    extends java.lang.Object
    Date: 08/12/2017
    Author:
    Yaron Yamin
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> findChildObjectsQualifiedNameInFile​(com.intellij.psi.PsiClass psiClass)  
      static @NotNull java.util.List<ResolvedMethodCall> findMethodCalls​(com.intellij.psi.PsiMethod psiMethod)  
      static boolean isSyntheticMethod​(com.intellij.psi.PsiMethod psiMethod)  
      static java.lang.String resolveCanonicalName​(com.intellij.psi.PsiElement typePsiElement)  
      static java.lang.String resolveCanonicalNameOfObject​(java.lang.Object typeElement, java.lang.Object psiElement)  
      static java.util.List<java.lang.Object> resolveComposedTypeElementsForObject​(com.intellij.psi.PsiType psiType, java.lang.Object typeElement)  
      static java.util.List<java.lang.String> resolveEnumValues​(java.lang.Object typePsiElement)  
      static com.intellij.psi.PsiParameter[] resolveParameters​(com.intellij.psi.PsiMethod psiMethod)  
      static @Nullable com.intellij.psi.PsiClass resolvePsiClass​(java.lang.String qualifiedName, com.intellij.openapi.project.Project project, com.intellij.openapi.module.Module module)  
      static java.lang.Object resolveRelatedTypeElement​(com.intellij.psi.PsiParameter psiParameter)  
      static java.lang.Object resolveReturnType​(com.intellij.psi.PsiMethod psiMethod)  
      • Methods inherited from class java.lang.Object

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

      • ScalaPsiTreeUtils

        public ScalaPsiTreeUtils()
    • Method Detail

      • resolveParameters

        public static com.intellij.psi.PsiParameter[] resolveParameters​(com.intellij.psi.PsiMethod psiMethod)
      • resolveRelatedTypeElement

        public static java.lang.Object resolveRelatedTypeElement​(com.intellij.psi.PsiParameter psiParameter)
      • resolvePsiClass

        @Nullable
        public static @Nullable com.intellij.psi.PsiClass resolvePsiClass​(java.lang.String qualifiedName,
                                                                          com.intellij.openapi.project.Project project,
                                                                          com.intellij.openapi.module.Module module)
      • resolveCanonicalName

        public static java.lang.String resolveCanonicalName​(com.intellij.psi.PsiElement typePsiElement)
      • resolveCanonicalNameOfObject

        public static java.lang.String resolveCanonicalNameOfObject​(java.lang.Object typeElement,
                                                                    java.lang.Object psiElement)
      • resolveComposedTypeElementsForObject

        public static java.util.List<java.lang.Object> resolveComposedTypeElementsForObject​(com.intellij.psi.PsiType psiType,
                                                                                            java.lang.Object typeElement)
      • resolveReturnType

        public static java.lang.Object resolveReturnType​(com.intellij.psi.PsiMethod psiMethod)
      • isSyntheticMethod

        public static boolean isSyntheticMethod​(com.intellij.psi.PsiMethod psiMethod)
      • findMethodCalls

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

        public static java.util.List<java.lang.String> resolveEnumValues​(java.lang.Object typePsiElement)
      • findChildObjectsQualifiedNameInFile

        public static java.util.List<java.lang.String> findChildObjectsQualifiedNameInFile​(com.intellij.psi.PsiClass psiClass)