org.jetbrains.kotlin.js.translate.utils
Class ManglingUtils

java.lang.Object
  extended by org.jetbrains.kotlin.js.translate.utils.ManglingUtils

public class ManglingUtils
extends java.lang.Object


Field Summary
static java.util.Comparator<CallableDescriptor> CALLABLE_COMPARATOR
           
 
Method Summary
static java.lang.String getMangledMemberNameForExplicitDelegation(java.lang.String suggestedName, FqNameUnsafe classFqName, FqNameUnsafe typeFqName)
           
static java.lang.String getMangledName(PropertyDescriptor descriptor, java.lang.String suggestedName)
           
static java.lang.String getStableMangledNameForDescriptor(ClassDescriptor descriptor, java.lang.String functionName)
           
static java.lang.String getSuggestedName(DeclarationDescriptor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALLABLE_COMPARATOR

public static final java.util.Comparator<CallableDescriptor> CALLABLE_COMPARATOR
Method Detail

getMangledName

@NotNull
public static java.lang.String getMangledName(@NotNull
                                                      PropertyDescriptor descriptor,
                                                      @NotNull
                                                      java.lang.String suggestedName)

getSuggestedName

@NotNull
public static java.lang.String getSuggestedName(@NotNull
                                                        DeclarationDescriptor descriptor)

getMangledMemberNameForExplicitDelegation

@NotNull
public static java.lang.String getMangledMemberNameForExplicitDelegation(@NotNull
                                                                                 java.lang.String suggestedName,
                                                                                 @NotNull
                                                                                 FqNameUnsafe classFqName,
                                                                                 @NotNull
                                                                                 FqNameUnsafe typeFqName)

getStableMangledNameForDescriptor

@NotNull
public static java.lang.String getStableMangledNameForDescriptor(@NotNull
                                                                         ClassDescriptor descriptor,
                                                                         @NotNull
                                                                         java.lang.String functionName)