org.jetbrains.kotlin.config
Class CompilerConfiguration

java.lang.Object
  extended by org.jetbrains.kotlin.config.CompilerConfiguration

public class CompilerConfiguration
extends java.lang.Object


Field Summary
static CompilerConfiguration EMPTY
           
 
Constructor Summary
CompilerConfiguration()
           
 
Method Summary
<T> void
add(CompilerConfigurationKey<java.util.List<T>> key, T value)
           
<T> void
addAll(CompilerConfigurationKey<java.util.List<T>> key, java.util.Collection<T> values)
           
 CompilerConfiguration copy()
           
<T> T
get(CompilerConfigurationKey<T> key)
           
<T> T
get(CompilerConfigurationKey<T> key, T defaultValue)
           
 boolean getBoolean(CompilerConfigurationKey<java.lang.Boolean> key)
           
<T> java.util.List<T>
getList(CompilerConfigurationKey<java.util.List<T>> key)
           
<K,V> java.util.Map<K,V>
getMap(CompilerConfigurationKey<java.util.Map<K,V>> key)
           
<T> T
getNotNull(CompilerConfigurationKey<T> key)
           
 boolean isReadOnly()
           
<K,V> void
put(CompilerConfigurationKey<java.util.Map<K,V>> configurationKey, K key, V value)
           
<T> void
put(CompilerConfigurationKey<T> key, T value)
           
 void setReadOnly(boolean readOnly)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

public static CompilerConfiguration EMPTY
Constructor Detail

CompilerConfiguration

public CompilerConfiguration()
Method Detail

get

@Nullable
public <T> T get(@NotNull
                          CompilerConfigurationKey<T> key)

get

@NotNull
public <T> T get(@NotNull
                         CompilerConfigurationKey<T> key,
                         @NotNull
                         T defaultValue)

getNotNull

@NotNull
public <T> T getNotNull(@NotNull
                                CompilerConfigurationKey<T> key)

getBoolean

public boolean getBoolean(@NotNull
                          CompilerConfigurationKey<java.lang.Boolean> key)

getList

@NotNull
public <T> java.util.List<T> getList(@NotNull
                                             CompilerConfigurationKey<java.util.List<T>> key)

getMap

@NotNull
public <K,V> java.util.Map<K,V> getMap(@NotNull
                                               CompilerConfigurationKey<java.util.Map<K,V>> key)

put

public <T> void put(@NotNull
                    CompilerConfigurationKey<T> key,
                    @NotNull
                    T value)

add

public <T> void add(@NotNull
                    CompilerConfigurationKey<java.util.List<T>> key,
                    @NotNull
                    T value)

put

public <K,V> void put(@NotNull
                      CompilerConfigurationKey<java.util.Map<K,V>> configurationKey,
                      @NotNull
                      K key,
                      @NotNull
                      V value)

addAll

public <T> void addAll(@NotNull
                       CompilerConfigurationKey<java.util.List<T>> key,
                       @NotNull
                       java.util.Collection<T> values)

copy

public CompilerConfiguration copy()

setReadOnly

public void setReadOnly(boolean readOnly)

isReadOnly

public boolean isReadOnly()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object