org.jetbrains.kotlin.cfg
Class ControlFlowInformationProvider

java.lang.Object
  extended by org.jetbrains.kotlin.cfg.ControlFlowInformationProvider

public class ControlFlowInformationProvider
extends java.lang.Object


Constructor Summary
ControlFlowInformationProvider(KtElement declaration, BindingTrace trace)
           
 
Method Summary
 void checkDeclaration()
           
 void checkForLocalClassOrObjectMode()
           
 void checkFunction(KotlinType expectedReturnType)
           
static KtDeclaration getElementParentDeclaration(KtElement element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlFlowInformationProvider

public ControlFlowInformationProvider(@NotNull
                                      KtElement declaration,
                                      @NotNull
                                      BindingTrace trace)
Method Detail

checkForLocalClassOrObjectMode

public void checkForLocalClassOrObjectMode()

checkDeclaration

public void checkDeclaration()

checkFunction

public void checkFunction(@Nullable
                          KotlinType expectedReturnType)

getElementParentDeclaration

@Nullable
public static KtDeclaration getElementParentDeclaration(@NotNull
                                                                 KtElement element)