|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.backend.common.CodegenUtil
public class CodegenUtil
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)
|
static PropertyDescriptor |
getDelegatePropertyIfAny(JetExpression expression,
ClassDescriptor classDescriptor,
BindingContext bindingContext)
|
static ClassDescriptor |
getSuperClassByDelegationSpecifier(JetDelegationSpecifier specifier,
BindingContext bindingContext)
|
static java.util.Map<FunctionDescriptor,FunctionDescriptor> |
getTraitMethods(ClassDescriptor descriptor)
|
static boolean |
isEnumValueOfMethod(FunctionDescriptor functionDescriptor)
|
static boolean |
isEnumValuesMethod(FunctionDescriptor functionDescriptor)
|
static boolean |
isFinalPropertyWithBackingField(PropertyDescriptor propertyDescriptor,
BindingContext bindingContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EQUALS_METHOD_NAME
public static final java.lang.String TO_STRING_METHOD_NAME
public static final java.lang.String HASH_CODE_METHOD_NAME
| Method Detail |
|---|
@Nullable
public static FunctionDescriptor getDeclaredFunctionByRawSignature(@NotNull
ClassDescriptor owner,
@NotNull
Name name,
@NotNull
ClassifierDescriptor returnedClassifier,
@NotNull
ClassifierDescriptor... valueParameterClassifiers)
public static FunctionDescriptor getAnyEqualsMethod()
public static FunctionDescriptor getAnyToStringMethod()
public static FunctionDescriptor getAnyHashCodeMethod()
@Nullable
public static PropertyDescriptor getDelegatePropertyIfAny(JetExpression expression,
ClassDescriptor classDescriptor,
BindingContext bindingContext)
public static boolean isFinalPropertyWithBackingField(PropertyDescriptor propertyDescriptor,
BindingContext bindingContext)
@NotNull public static java.util.Map<FunctionDescriptor,FunctionDescriptor> getTraitMethods(ClassDescriptor descriptor)
@NotNull
public static ClassDescriptor getSuperClassByDelegationSpecifier(@NotNull
JetDelegationSpecifier specifier,
@NotNull
BindingContext bindingContext)
public static boolean isEnumValueOfMethod(@NotNull
FunctionDescriptor functionDescriptor)
public static boolean isEnumValuesMethod(@NotNull
FunctionDescriptor functionDescriptor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||