org.jetbrains.jet.codegen.binding
Class PsiCodegenPredictor
java.lang.Object
org.jetbrains.jet.codegen.binding.PsiCodegenPredictor
public final class PsiCodegenPredictor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkPredictedNameFromPsi
public static boolean checkPredictedNameFromPsi(@NotNull
BindingTrace bindingTrace,
@NotNull
DeclarationDescriptor descriptor,
@Nullable
org.jetbrains.asm4.Type nameFromDescriptors)
getPredefinedJvmInternalName
@Nullable
public static java.lang.String getPredefinedJvmInternalName(@NotNull
JetDeclaration declaration)
- TODO: Finish this method for all cases. Now it's only used and tested in JetLightClass.
- Returns:
- null if no prediction can be done.
getFileForNamespacePartName
@Nullable
public static JetFile getFileForNamespacePartName(@NotNull
java.util.Collection<JetFile> allNamespaceFiles,
@NotNull
JvmClassName className)
getFileForCodegenNamedClass
@Nullable
public static JetFile getFileForCodegenNamedClass(@NotNull
BindingContext context,
@NotNull
java.util.Collection<JetFile> allNamespaceFiles,
@NotNull
java.lang.String classInternalName)