org.jetbrains.kotlin.descriptors.impl
Class LocalVariableDescriptor

java.lang.Object
  extended by org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
          extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
              extended by org.jetbrains.kotlin.descriptors.impl.VariableDescriptorImpl
                  extended by org.jetbrains.kotlin.descriptors.impl.LocalVariableDescriptor
All Implemented Interfaces:
Annotated, CallableDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, Named, VariableDescriptor

public class LocalVariableDescriptor
extends VariableDescriptorImpl


Constructor Summary
LocalVariableDescriptor(DeclarationDescriptor containingDeclaration, Annotations annotations, Name name, JetType type, boolean mutable, SourceElement source)
           
 
Method Summary
<R,D> R
accept(DeclarationDescriptorVisitor<R,D> visitor, D data)
           
 Visibility getVisibility()
           
 boolean isVar()
           
 LocalVariableDescriptor substitute(TypeSubstitutor substitutor)
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.VariableDescriptorImpl
getCompileTimeInitializer, getDispatchReceiverParameter, getExtensionReceiverParameter, getOriginal, getOverriddenDescriptors, getReturnType, getType, getTypeParameters, getValueParameters, hasStableParameterNames, hasSynthesizedParameterNames, setCompileTimeInitializer, setOutType
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
getContainingDeclaration, getSource
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, toString
 
Methods inherited from class org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
getAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.VariableDescriptor
getContainingDeclaration
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
acceptVoid
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Constructor Detail

LocalVariableDescriptor

public LocalVariableDescriptor(@NotNull
                               DeclarationDescriptor containingDeclaration,
                               @NotNull
                               Annotations annotations,
                               @NotNull
                               Name name,
                               @Nullable
                               JetType type,
                               boolean mutable,
                               @NotNull
                               SourceElement source)
Method Detail

substitute

@NotNull
public LocalVariableDescriptor substitute(@NotNull
                                                  TypeSubstitutor substitutor)

accept

public <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor,
                      D data)

isVar

public boolean isVar()

getVisibility

@NotNull
public Visibility getVisibility()