public abstract class VariableDescriptorImpl extends DeclarationDescriptorNonRootImpl implements VariableDescriptor
| Modifier | Constructor and Description |
|---|---|
protected |
VariableDescriptorImpl(DeclarationDescriptor containingDeclaration,
java.util.List<AnnotationDescriptor> annotations,
Name name) |
|
VariableDescriptorImpl(DeclarationDescriptor containingDeclaration,
java.util.List<AnnotationDescriptor> annotations,
Name name,
JetType outType) |
| Modifier and Type | Method and Description |
|---|---|
ReceiverParameterDescriptor |
getExpectedThisObject() |
VariableDescriptor |
getOriginal() |
java.util.Set<? extends CallableDescriptor> |
getOverriddenDescriptors() |
ReceiverParameterDescriptor |
getReceiverParameter() |
JetType |
getReturnType()
Method may return null for not yet fully initialized object or if error occurred.
|
JetType |
getType() |
java.util.List<TypeParameterDescriptor> |
getTypeParameters() |
java.util.List<ValueParameterDescriptor> |
getValueParameters() |
void |
setOutType(JetType outType) |
getContainingDeclarationacceptVoid, getName, toStringgetAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainingDeclaration, isVar, substitutegetVisibilityaccept, acceptVoidgetAnnotationspublic VariableDescriptorImpl(@NotNull DeclarationDescriptor containingDeclaration, @NotNull java.util.List<AnnotationDescriptor> annotations, @NotNull Name name, @Nullable JetType outType)
protected VariableDescriptorImpl(@NotNull DeclarationDescriptor containingDeclaration, @NotNull java.util.List<AnnotationDescriptor> annotations, @NotNull Name name)
@NotNull public JetType getType()
getType in interface VariableDescriptorpublic void setOutType(JetType outType)
@NotNull public VariableDescriptor getOriginal()
getOriginal in interface CallableDescriptorgetOriginal in interface DeclarationDescriptorgetOriginal in class DeclarationDescriptorImplthis object if the current descriptor is original itself@NotNull public java.util.List<ValueParameterDescriptor> getValueParameters()
getValueParameters in interface CallableDescriptor@NotNull public java.util.Set<? extends CallableDescriptor> getOverriddenDescriptors()
getOverriddenDescriptors in interface CallableDescriptor@NotNull public java.util.List<TypeParameterDescriptor> getTypeParameters()
getTypeParameters in interface CallableDescriptorpublic ReceiverParameterDescriptor getReceiverParameter()
getReceiverParameter in interface CallableDescriptorpublic ReceiverParameterDescriptor getExpectedThisObject()
getExpectedThisObject in interface CallableDescriptor@NotNull public JetType getReturnType()
CallableDescriptorgetReturnType in interface CallableDescriptor