org.jetbrains.jet.codegen.inline
Class InlineCodegenUtil

java.lang.Object
  extended by org.jetbrains.jet.codegen.inline.InlineCodegenUtil

public class InlineCodegenUtil
extends java.lang.Object


Field Summary
static int API
           
static java.lang.String INVOKE
           
 
Constructor Summary
InlineCodegenUtil()
           
 
Method Summary
static com.intellij.openapi.vfs.VirtualFile findVirtualFile(com.intellij.openapi.project.Project project, java.lang.String internalName)
           
static com.intellij.openapi.vfs.VirtualFile findVirtualFileWithHeader(com.intellij.openapi.project.Project project, FqName containerFqName)
           
static FqName getContainerFqName(DeclarationDescriptor referencedDescriptor)
           
static com.intellij.psi.PsiFile getContainingFile(CodegenContext codegenContext, JetTypeMapper typeMapper)
           
static java.lang.String getInlineName(CodegenContext codegenContext, JetTypeMapper typeMapper)
           
static org.jetbrains.asm4.tree.MethodNode getMethodNode(java.io.InputStream classData, java.lang.String methodName, java.lang.String methodDescriptor)
           
static com.intellij.openapi.vfs.VirtualFile getVirtualFileForCallable(DeserializedSimpleFunctionDescriptor deserializedDescriptor, GenerationState state)
           
static boolean isInvokeOnLambda(java.lang.String owner, java.lang.String name)
           
static boolean isLambdaClass(java.lang.String internalName)
           
static boolean isLambdaConstructorCall(java.lang.String internalName, java.lang.String methodName)
           
static MaxCalcNode wrapWithMaxLocalCalc(org.jetbrains.asm4.tree.MethodNode methodNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

API

public static final int API
See Also:
Constant Field Values

INVOKE

public static final java.lang.String INVOKE
See Also:
Constant Field Values
Constructor Detail

InlineCodegenUtil

public InlineCodegenUtil()
Method Detail

getMethodNode

@Nullable
public static org.jetbrains.asm4.tree.MethodNode getMethodNode(java.io.InputStream classData,
                                                                        java.lang.String methodName,
                                                                        java.lang.String methodDescriptor)
                                                        throws java.lang.ClassNotFoundException,
                                                               java.io.IOException
Throws:
java.lang.ClassNotFoundException
java.io.IOException

getVirtualFileForCallable

@NotNull
public static com.intellij.openapi.vfs.VirtualFile getVirtualFileForCallable(@NotNull
                                                                                     DeserializedSimpleFunctionDescriptor deserializedDescriptor,
                                                                                     @NotNull
                                                                                     GenerationState state)

findVirtualFileWithHeader

@Nullable
public static com.intellij.openapi.vfs.VirtualFile findVirtualFileWithHeader(@NotNull
                                                                                      com.intellij.openapi.project.Project project,
                                                                                      @NotNull
                                                                                      FqName containerFqName)

findVirtualFile

@Nullable
public static com.intellij.openapi.vfs.VirtualFile findVirtualFile(@NotNull
                                                                            com.intellij.openapi.project.Project project,
                                                                            @NotNull
                                                                            java.lang.String internalName)

getContainerFqName

@Nullable
public static FqName getContainerFqName(@NotNull
                                                 DeclarationDescriptor referencedDescriptor)

getInlineName

public static java.lang.String getInlineName(@NotNull
                                             CodegenContext codegenContext,
                                             @NotNull
                                             JetTypeMapper typeMapper)

isInvokeOnLambda

public static boolean isInvokeOnLambda(java.lang.String owner,
                                       java.lang.String name)

isLambdaConstructorCall

public static boolean isLambdaConstructorCall(@NotNull
                                              java.lang.String internalName,
                                              @NotNull
                                              java.lang.String methodName)

isLambdaClass

public static boolean isLambdaClass(java.lang.String internalName)

getContainingFile

@Nullable
public static com.intellij.psi.PsiFile getContainingFile(CodegenContext codegenContext,
                                                                  JetTypeMapper typeMapper)

wrapWithMaxLocalCalc

@NotNull
public static MaxCalcNode wrapWithMaxLocalCalc(@NotNull
                                                       org.jetbrains.asm4.tree.MethodNode methodNode)