org.jetbrains.kotlin.types
Class DelegatingType
java.lang.Object
org.jetbrains.kotlin.types.DelegatingType
- All Implemented Interfaces:
- Annotated, JetType
- Direct Known Subclasses:
- DeferredType
public abstract class DelegatingType
- extends java.lang.Object
- implements JetType
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DelegatingType
public DelegatingType()
getDelegate
protected abstract JetType getDelegate()
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
getSubstitution
@NotNull
public TypeSubstitution getSubstitution()
- Specified by:
getSubstitution in interface JetType
isMarkedNullable
public boolean isMarkedNullable()
- Specified by:
isMarkedNullable in interface JetType
getMemberScope
@NotNull
public JetScope getMemberScope()
- Specified by:
getMemberScope in interface JetType
isError
public boolean isError()
- Specified by:
isError in interface JetType
getAnnotations
@NotNull
public Annotations getAnnotations()
- Specified by:
getAnnotations in interface Annotated
getCapability
@Nullable
public <T extends TypeCapability> T getCapability(@NotNull
java.lang.Class<T> capabilityClass)
- Specified by:
getCapability in interface JetType
getCapabilities
@NotNull
public TypeCapabilities getCapabilities()
- Specified by:
getCapabilities in interface JetType
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals in interface JetType- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object