org.jetbrains.kotlin.load.java.structure.impl
Class JavaTypeSubstitutorImpl

java.lang.Object
  extended by org.jetbrains.kotlin.load.java.structure.impl.JavaTypeSubstitutorImpl
All Implemented Interfaces:
JavaTypeSubstitutor

public class JavaTypeSubstitutorImpl
extends java.lang.Object
implements JavaTypeSubstitutor


Field Summary
 
Fields inherited from interface org.jetbrains.kotlin.load.java.structure.JavaTypeSubstitutor
EMPTY
 
Constructor Summary
JavaTypeSubstitutorImpl(java.util.Map<JavaTypeParameter,JavaType> substitutionMap)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Map<JavaTypeParameter,JavaType> getSubstitutionMap()
           
 int hashCode()
           
 JavaType substitute(JavaType type)
           
 JavaType substitute(JavaTypeParameter typeParameter)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaTypeSubstitutorImpl

public JavaTypeSubstitutorImpl(@NotNull
                               java.util.Map<JavaTypeParameter,JavaType> substitutionMap)
Method Detail

substitute

@NotNull
public JavaType substitute(@NotNull
                                   JavaType type)
Specified by:
substitute in interface JavaTypeSubstitutor

substitute

@Nullable
public JavaType substitute(@NotNull
                                    JavaTypeParameter typeParameter)
Specified by:
substitute in interface JavaTypeSubstitutor

getSubstitutionMap

@NotNull
public java.util.Map<JavaTypeParameter,JavaType> getSubstitutionMap()
Specified by:
getSubstitutionMap in interface JavaTypeSubstitutor

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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