org.jetbrains.jet.lang.resolve.java
Class JavaBridgeConfiguration

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.JavaBridgeConfiguration
All Implemented Interfaces:
ModuleConfiguration

public class JavaBridgeConfiguration
extends java.lang.Object
implements ModuleConfiguration


Field Summary
static java.util.List<ImportPath> ALL_JAVA_IMPORTS
           
static java.util.List<ImportPath> DEFAULT_JAVA_IMPORTS
           
 
Fields inherited from interface org.jetbrains.jet.lang.ModuleConfiguration
EMPTY
 
Constructor Summary
JavaBridgeConfiguration()
           
 
Method Summary
 void extendNamespaceScope(BindingTrace trace, NamespaceDescriptor namespaceDescriptor, WritableScope namespaceMemberScope)
          This method is called every time a namespace descriptor is created.
 void setJavaDescriptorResolver(JavaDescriptorResolver javaDescriptorResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_JAVA_IMPORTS

public static final java.util.List<ImportPath> DEFAULT_JAVA_IMPORTS

ALL_JAVA_IMPORTS

public static final java.util.List<ImportPath> ALL_JAVA_IMPORTS
Constructor Detail

JavaBridgeConfiguration

public JavaBridgeConfiguration()
Method Detail

setJavaDescriptorResolver

@Inject
public void setJavaDescriptorResolver(@NotNull
                                             JavaDescriptorResolver javaDescriptorResolver)

extendNamespaceScope

public void extendNamespaceScope(@NotNull
                                 BindingTrace trace,
                                 @NotNull
                                 NamespaceDescriptor namespaceDescriptor,
                                 @NotNull
                                 WritableScope namespaceMemberScope)
Description copied from interface: ModuleConfiguration
This method is called every time a namespace descriptor is created. Use it to add extra descriptors to the namespace, e.g. merge a Java package with a Kotlin one

Specified by:
extendNamespaceScope in interface ModuleConfiguration