org.jetbrains.jet.backend.common
Class CodegenUtil
java.lang.Object
org.jetbrains.jet.backend.common.CodegenUtil
public class CodegenUtil
- extends java.lang.Object
Backend-independent utility class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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()
getDelegatePropertyIfAny
@Nullable
public static PropertyDescriptor getDelegatePropertyIfAny(JetExpression expression,
ClassDescriptor classDescriptor,
BindingContext bindingContext)
isFinalPropertyWithBackingField
public static boolean isFinalPropertyWithBackingField(PropertyDescriptor propertyDescriptor,
BindingContext bindingContext)
getTraitMethods
@NotNull
public static java.util.Map<FunctionDescriptor,FunctionDescriptor> getTraitMethods(ClassDescriptor descriptor)
getSuperClassByDelegationSpecifier
@NotNull
public static ClassDescriptor getSuperClassByDelegationSpecifier(@NotNull
JetDelegationSpecifier specifier,
@NotNull
BindingContext bindingContext)
isEnumValueOfMethod
public static boolean isEnumValueOfMethod(@NotNull
FunctionDescriptor functionDescriptor)
isEnumValuesMethod
public static boolean isEnumValuesMethod(@NotNull
FunctionDescriptor functionDescriptor)