public class LightClassUtil extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LightClassUtil.PropertyAccessorsPsiMethods |
Modifier and Type | Method and Description |
---|---|
static boolean |
belongsToKotlinBuiltIns(JetFile file)
Checks whether the given file is loaded from the location where Kotlin's built-in classes are defined.
|
static java.net.URL |
getBuiltInsDirResourceUrl() |
static com.intellij.psi.PsiMethod |
getLightClassAccessorMethod(JetPropertyAccessor accessor) |
static com.intellij.psi.PsiMethod |
getLightClassMethod(JetNamedFunction function) |
static LightClassUtil.PropertyAccessorsPsiMethods |
getLightClassPropertyMethods(JetParameter parameter) |
static LightClassUtil.PropertyAccessorsPsiMethods |
getLightClassPropertyMethods(JetProperty property) |
static com.intellij.psi.PsiClass |
getPsiClass(JetClassOrObject classOrObject) |
public static boolean belongsToKotlinBuiltIns(@NotNull JetFile file)
@NotNull public static java.net.URL getBuiltInsDirResourceUrl()
@Nullable public static com.intellij.psi.PsiClass getPsiClass(@Nullable JetClassOrObject classOrObject)
@Nullable public static com.intellij.psi.PsiMethod getLightClassAccessorMethod(@NotNull JetPropertyAccessor accessor)
@NotNull public static LightClassUtil.PropertyAccessorsPsiMethods getLightClassPropertyMethods(@NotNull JetProperty property)
public static LightClassUtil.PropertyAccessorsPsiMethods getLightClassPropertyMethods(@NotNull JetParameter parameter)
@Nullable public static com.intellij.psi.PsiMethod getLightClassMethod(@NotNull JetNamedFunction function)