org.jetbrains.jet.lang.types
Class JetTypeImpl
java.lang.Object
org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
org.jetbrains.jet.lang.types.JetTypeImpl
- All Implemented Interfaces:
- Annotated, JetType
public final class JetTypeImpl
- extends AnnotatedImpl
- implements JetType
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JetTypeImpl
public JetTypeImpl(java.util.List<AnnotationDescriptor> annotations,
TypeConstructor constructor,
boolean nullable,
@NotNull
java.util.List<TypeProjection> arguments,
JetScope memberScope)
JetTypeImpl
public JetTypeImpl(TypeConstructor constructor,
JetScope memberScope)
JetTypeImpl
public JetTypeImpl(@NotNull
ClassDescriptor classDescriptor)
getConstructor
@NotNull
public TypeConstructor getConstructor()
- Specified by:
getConstructor in interface JetType
getArguments
@NotNull
public java.util.List<TypeProjection> getArguments()
- Specified by:
getArguments in interface JetType
isNullable
public boolean isNullable()
- Specified by:
isNullable in interface JetType
getMemberScope
@NotNull
public JetScope getMemberScope()
- Specified by:
getMemberScope in interface JetType
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface JetType- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object