org.jetbrains.kotlin.platform
Class JavaToKotlinClassMap

java.lang.Object
  extended by org.jetbrains.kotlin.platform.JavaToKotlinClassMapBuilder
      extended by org.jetbrains.kotlin.platform.JavaToKotlinClassMap
All Implemented Interfaces:
PlatformToKotlinClassMap

public class JavaToKotlinClassMap
extends JavaToKotlinClassMapBuilder
implements PlatformToKotlinClassMap


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.platform.JavaToKotlinClassMapBuilder
JavaToKotlinClassMapBuilder.Direction
 
Field Summary
static JavaToKotlinClassMap INSTANCE
           
 
Fields inherited from interface org.jetbrains.kotlin.platform.PlatformToKotlinClassMap
EMPTY
 
Method Summary
 java.util.Set<ClassDescriptor> allKotlinClasses()
           
 ClassDescriptor mapKotlinClass(FqName fqName, TypeUsage typeUsage)
           
 java.util.Collection<ClassDescriptor> mapPlatformClass(ClassDescriptor classDescriptor)
           
 java.util.Collection<ClassDescriptor> mapPlatformClass(FqName fqName)
           
 java.util.Collection<ClassDescriptor> mapPlatformClassesInside(DeclarationDescriptor containingDeclaration)
           
 JetType mapPrimitiveKotlinClass(java.lang.String name)
           
protected  void register(java.lang.Class<?> javaClass, ClassDescriptor kotlinDescriptor, ClassDescriptor kotlinMutableDescriptor)
           
protected  void register(java.lang.Class<?> javaClass, ClassDescriptor kotlinDescriptor, JavaToKotlinClassMapBuilder.Direction direction)
           
 
Methods inherited from class org.jetbrains.kotlin.platform.JavaToKotlinClassMapBuilder
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final JavaToKotlinClassMap INSTANCE
Method Detail

mapPrimitiveKotlinClass

@Nullable
public JetType mapPrimitiveKotlinClass(@NotNull
                                                java.lang.String name)

mapKotlinClass

@Nullable
public ClassDescriptor mapKotlinClass(@NotNull
                                               FqName fqName,
                                               @NotNull
                                               TypeUsage typeUsage)

register

protected void register(@NotNull
                        java.lang.Class<?> javaClass,
                        @NotNull
                        ClassDescriptor kotlinDescriptor,
                        @NotNull
                        JavaToKotlinClassMapBuilder.Direction direction)
Specified by:
register in class JavaToKotlinClassMapBuilder

register

protected void register(@NotNull
                        java.lang.Class<?> javaClass,
                        @NotNull
                        ClassDescriptor kotlinDescriptor,
                        @NotNull
                        ClassDescriptor kotlinMutableDescriptor)
Specified by:
register in class JavaToKotlinClassMapBuilder

mapPlatformClass

@NotNull
public java.util.Collection<ClassDescriptor> mapPlatformClass(@NotNull
                                                                      FqName fqName)

mapPlatformClass

@NotNull
public java.util.Collection<ClassDescriptor> mapPlatformClass(@NotNull
                                                                      ClassDescriptor classDescriptor)
Specified by:
mapPlatformClass in interface PlatformToKotlinClassMap

mapPlatformClassesInside

@NotNull
public java.util.Collection<ClassDescriptor> mapPlatformClassesInside(@NotNull
                                                                              DeclarationDescriptor containingDeclaration)
Specified by:
mapPlatformClassesInside in interface PlatformToKotlinClassMap

allKotlinClasses

@NotNull
public java.util.Set<ClassDescriptor> allKotlinClasses()