org.jetbrains.k2js.translate.context
Class Namer
java.lang.Object
org.jetbrains.k2js.translate.context.Namer
public final class Namer
- extends java.lang.Object
Encapuslates different types of constants and naming conventions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KOTLIN_NAME
public static final java.lang.String KOTLIN_NAME
- See Also:
- Constant Field Values
KOTLIN_LOWER_NAME
public static final java.lang.String KOTLIN_LOWER_NAME
CALLEE_NAME
public static final java.lang.String CALLEE_NAME
- See Also:
- Constant Field Values
OUTER_CLASS_NAME
public static final java.lang.String OUTER_CLASS_NAME
- See Also:
- Constant Field Values
getReceiverParameterName
@NotNull
public static java.lang.String getReceiverParameterName()
getRootNamespaceName
@NotNull
public static java.lang.String getRootNamespaceName()
superMethodNameRef
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsNameRef superMethodNameRef(@NotNull
com.google.dart.compiler.backend.js.ast.JsName superClassJsName)
nameForClassesVariable
@NotNull
public static java.lang.String nameForClassesVariable()
getNameForAccessor
@NotNull
public static java.lang.String getNameForAccessor(@NotNull
java.lang.String propertyName,
boolean isGetter,
boolean useNativeAccessor)
getKotlinBackingFieldName
@NotNull
public static java.lang.String getKotlinBackingFieldName(@NotNull
java.lang.String propertyName)
getClassObjectAccessor
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsExpression getClassObjectAccessor(@NotNull
com.google.dart.compiler.backend.js.ast.JsExpression referenceToClass)
getNamedForClassObjectInitializer
@NotNull
public static Named getNamedForClassObjectInitializer()
getDelegateName
@NotNull
public static java.lang.String getDelegateName(@NotNull
java.lang.String propertyName)
getDelegateNameRef
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsNameRef getDelegateNameRef(java.lang.String propertyName)
getFunctionCallRef
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsNameRef getFunctionCallRef(@NotNull
com.google.dart.compiler.backend.js.ast.JsExpression functionExpression)
newInstance
@NotNull
public static Namer newInstance(@NotNull
com.google.dart.compiler.backend.js.ast.JsScope rootScope)
classCreationMethodReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression classCreationMethodReference()
enumEntriesCreationMethodReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression enumEntriesCreationMethodReference()
traitCreationMethodReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression traitCreationMethodReference()
packageDefinitionMethodReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression packageDefinitionMethodReference()
rootPackageDefinitionMethodReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression rootPackageDefinitionMethodReference()
objectCreationMethodReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression objectCreationMethodReference()
throwNPEFunctionRef
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression throwNPEFunctionRef()
propertyMetadataRef
@NotNull
public com.google.dart.compiler.backend.js.ast.JsNameRef propertyMetadataRef()
kotlin
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression kotlin(@NotNull
java.lang.String name)
kotlinObject
@NotNull
public com.google.dart.compiler.backend.js.ast.JsNameRef kotlinObject()
isOperationReference
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression isOperationReference()
classCreateInvocation
@NotNull
public com.google.dart.compiler.backend.js.ast.JsInvocation classCreateInvocation(@NotNull
ClassDescriptor descriptor)
enumEntriesObjectCreateInvocation
@NotNull
public com.google.dart.compiler.backend.js.ast.JsInvocation enumEntriesObjectCreateInvocation()