org.jetbrains.jet.lang.resolve.java
Class CollectionClassMapping
java.lang.Object
org.jetbrains.jet.lang.resolve.java.JavaToKotlinClassMapBuilder
org.jetbrains.jet.lang.resolve.java.CollectionClassMapping
public class CollectionClassMapping
- extends JavaToKotlinClassMapBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
@NotNull
public static CollectionClassMapping getInstance()
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,
@NotNull
JavaToKotlinClassMapBuilder.Direction direction)
- Specified by:
register
in class JavaToKotlinClassMapBuilder
isMutableCollection
public boolean isMutableCollection(@NotNull
ClassDescriptor mutable)
isReadOnlyCollection
public boolean isReadOnlyCollection(@NotNull
ClassDescriptor immutable)
convertMutableToReadOnly
@NotNull
public ClassDescriptor convertMutableToReadOnly(@NotNull
ClassDescriptor mutable)
convertReadOnlyToMutable
@NotNull
public ClassDescriptor convertReadOnlyToMutable(@NotNull
ClassDescriptor readOnly)