org.jetbrains.kotlin.descriptors
Interface VariableDescriptor

All Superinterfaces:
Annotated, CallableDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, Named
All Known Subinterfaces:
PropertyDescriptor, ValueParameterDescriptor
All Known Implementing Classes:
AccessorForPropertyBackingFieldInOuterClass, AccessorForPropertyDescriptor, JavaPropertyDescriptor, LocalVariableDescriptor, PropertyDescriptorImpl, ValueParameterDescriptorImpl, VariableDescriptorImpl

public interface VariableDescriptor
extends CallableDescriptor


Method Summary
 CompileTimeConstant<?> getCompileTimeInitializer()
           
 DeclarationDescriptor getContainingDeclaration()
           
 JetType getType()
           
 boolean isVar()
           
 VariableDescriptor substitute(TypeSubstitutor substitutor)
           
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableDescriptor
getDispatchReceiverParameter, getExtensionReceiverParameter, getOriginal, getOverriddenDescriptors, getReturnType, getTypeParameters, getValueParameters, hasStableParameterNames, hasSynthesizedParameterNames
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithVisibility
getVisibility
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
accept, acceptVoid
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Method Detail

getType

@NotNull
JetType getType()

getContainingDeclaration

@NotNull
DeclarationDescriptor getContainingDeclaration()
Specified by:
getContainingDeclaration in interface DeclarationDescriptor
Specified by:
getContainingDeclaration in interface DeclarationDescriptorNonRoot

substitute

VariableDescriptor substitute(@NotNull
                              TypeSubstitutor substitutor)
Specified by:
substitute in interface CallableDescriptor
Specified by:
substitute in interface DeclarationDescriptor

isVar

boolean isVar()

getCompileTimeInitializer

@Nullable
CompileTimeConstant<?> getCompileTimeInitializer()