org.jetbrains.jet.backend.common
Class CodegenUtil

java.lang.Object
  extended by org.jetbrains.jet.backend.common.CodegenUtil

public class CodegenUtil
extends java.lang.Object

Backend-independent utility class.


Field Summary
static java.lang.String EQUALS_METHOD_NAME
           
static java.lang.String HASH_CODE_METHOD_NAME
           
static java.lang.String TO_STRING_METHOD_NAME
           
 
Method Summary
static FunctionDescriptor getAnyEqualsMethod()
           
static FunctionDescriptor getAnyHashCodeMethod()
           
static FunctionDescriptor getAnyToStringMethod()
           
static FunctionDescriptor getDeclaredFunctionByRawSignature(ClassDescriptor owner, Name name, ClassifierDescriptor returnedClassifier, ClassifierDescriptor... valueParameterClassifiers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EQUALS_METHOD_NAME

public static final java.lang.String EQUALS_METHOD_NAME
See Also:
Constant Field Values

TO_STRING_METHOD_NAME

public static final java.lang.String TO_STRING_METHOD_NAME
See Also:
Constant Field Values

HASH_CODE_METHOD_NAME

public static final java.lang.String HASH_CODE_METHOD_NAME
See Also:
Constant Field Values
Method Detail

getDeclaredFunctionByRawSignature

@Nullable
public static FunctionDescriptor getDeclaredFunctionByRawSignature(@NotNull
                                                                            ClassDescriptor owner,
                                                                            @NotNull
                                                                            Name name,
                                                                            @NotNull
                                                                            ClassifierDescriptor returnedClassifier,
                                                                            @NotNull
                                                                            ClassifierDescriptor... valueParameterClassifiers)

getAnyEqualsMethod

public static FunctionDescriptor getAnyEqualsMethod()

getAnyToStringMethod

public static FunctionDescriptor getAnyToStringMethod()

getAnyHashCodeMethod

public static FunctionDescriptor getAnyHashCodeMethod()