org.jetbrains.jet.lang.descriptors.impl
Class LocalVariableDescriptor

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

public class LocalVariableDescriptor
extends VariableDescriptorImpl


Constructor Summary
LocalVariableDescriptor(DeclarationDescriptor containingDeclaration, java.util.List<AnnotationDescriptor> annotations, Name name, JetType type, boolean mutable)
           
 
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.jet.lang.descriptors.impl.VariableDescriptorImpl
getExpectedThisObject, getOriginal, getOverriddenDescriptors, getReceiverParameter, getReturnType, getType, getTypeParameters, getValueParameters, setOutType
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorNonRootImpl
getContainingDeclaration
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, toString
 
Methods inherited from class org.jetbrains.jet.lang.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.jet.lang.descriptors.VariableDescriptor
getContainingDeclaration
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptor
acceptVoid
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named
getName
 

Constructor Detail

LocalVariableDescriptor

public LocalVariableDescriptor(@NotNull
                               DeclarationDescriptor containingDeclaration,
                               @NotNull
                               java.util.List<AnnotationDescriptor> annotations,
                               @NotNull
                               Name name,
                               @Nullable
                               JetType type,
                               boolean mutable)
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()