Class ScalaPsiTreeUtils
java.lang.Object
com.weirddev.testme.intellij.scala.resolvers.ScalaPsiTreeUtils
Date: 08/12/2017
- Author:
- Yaron Yamin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindChildObjectsQualifiedNameInFile
(com.intellij.psi.PsiClass psiClass) static @NotNull List<ResolvedMethodCall>
findMethodCalls
(com.intellij.psi.PsiMethod psiMethod) static boolean
isSyntheticMethod
(com.intellij.psi.PsiMethod psiMethod) static String
resolveCanonicalName
(com.intellij.psi.PsiElement typePsiElement) static String
resolveCanonicalNameOfObject
(Object typeElement, Object psiElement) resolveComposedTypeElementsForObject
(com.intellij.psi.PsiType psiType, Object typeElement) resolveEnumValues
(Object typePsiElement) static com.intellij.psi.PsiParameter[]
resolveParameters
(com.intellij.psi.PsiMethod psiMethod) static @Nullable com.intellij.psi.PsiClass
resolvePsiClass
(String qualifiedName, com.intellij.openapi.project.Project project, com.intellij.openapi.module.Module module) static Object
resolveRelatedTypeElement
(com.intellij.psi.PsiParameter psiParameter) static Object
resolveReturnType
(com.intellij.psi.PsiMethod psiMethod)
-
Constructor Details
-
ScalaPsiTreeUtils
public ScalaPsiTreeUtils()
-
-
Method Details
-
resolveParameters
public static com.intellij.psi.PsiParameter[] resolveParameters(com.intellij.psi.PsiMethod psiMethod) -
resolveRelatedTypeElement
-
resolvePsiClass
@Nullable public static @Nullable com.intellij.psi.PsiClass resolvePsiClass(String qualifiedName, com.intellij.openapi.project.Project project, com.intellij.openapi.module.Module module) -
resolveCanonicalName
-
resolveCanonicalNameOfObject
-
resolveComposedTypeElementsForObject
-
resolveReturnType
-
isSyntheticMethod
public static boolean isSyntheticMethod(com.intellij.psi.PsiMethod psiMethod) -
findMethodCalls
@NotNull public static @NotNull List<ResolvedMethodCall> findMethodCalls(com.intellij.psi.PsiMethod psiMethod) -
resolveEnumValues
-
findChildObjectsQualifiedNameInFile
-