org.jetbrains.k2js.translate.context
Class TraceableThisAliasProvider

java.lang.Object
  extended by org.jetbrains.k2js.translate.context.AliasingContext.AbstractThisAliasProvider
      extended by org.jetbrains.k2js.translate.context.TraceableThisAliasProvider
All Implemented Interfaces:
AliasingContext.ThisAliasProvider

public class TraceableThisAliasProvider
extends AliasingContext.AbstractThisAliasProvider


Constructor Summary
TraceableThisAliasProvider(ClassOrNamespaceDescriptor descriptor, com.google.dart.compiler.backend.js.ast.JsNameRef thisRef)
           
 
Method Summary
 com.google.dart.compiler.backend.js.ast.JsNameRef get(DeclarationDescriptor unnormalizedDescriptor)
           
 com.google.dart.compiler.backend.js.ast.JsNameRef getRefIfWasCaptured()
           
 boolean wasThisCaptured()
           
 
Methods inherited from class org.jetbrains.k2js.translate.context.AliasingContext.AbstractThisAliasProvider
get, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceableThisAliasProvider

public TraceableThisAliasProvider(@NotNull
                                  ClassOrNamespaceDescriptor descriptor,
                                  @NotNull
                                  com.google.dart.compiler.backend.js.ast.JsNameRef thisRef)
Method Detail

wasThisCaptured

public boolean wasThisCaptured()

getRefIfWasCaptured

@Nullable
public com.google.dart.compiler.backend.js.ast.JsNameRef getRefIfWasCaptured()

get

@Nullable
public com.google.dart.compiler.backend.js.ast.JsNameRef get(@NotNull
                                                                      DeclarationDescriptor unnormalizedDescriptor)