org.jetbrains.k2js.translate.context
Class StandardClasses

java.lang.Object
  extended by org.jetbrains.k2js.translate.context.StandardClasses

public final class StandardClasses
extends java.lang.Object

Provides a mechanism to bind some of the kotlin/java declations with library implementations. Makes sense only for those declaration that cannot be annotated. (Use library annotation in this case)


Method Summary
static StandardClasses bindImplementations(com.google.dart.compiler.backend.js.ast.JsScope kotlinObjectScope)
           
 com.google.dart.compiler.backend.js.ast.JsName getStandardObjectName(DeclarationDescriptor descriptor)
           
 boolean isStandardObject(DeclarationDescriptor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bindImplementations

@NotNull
public static StandardClasses bindImplementations(@NotNull
                                                          com.google.dart.compiler.backend.js.ast.JsScope kotlinObjectScope)

isStandardObject

public boolean isStandardObject(@NotNull
                                DeclarationDescriptor descriptor)

getStandardObjectName

@NotNull
public com.google.dart.compiler.backend.js.ast.JsName getStandardObjectName(@NotNull
                                                                                    DeclarationDescriptor descriptor)