org.jetbrains.kotlin.psi
Class KtDestructuringDeclarationEntry

java.lang.Object
  extended by KtExpressionImpl
      extended by org.jetbrains.kotlin.psi.KtDeclarationImpl
          extended by org.jetbrains.kotlin.psi.KtDestructuringDeclarationEntry
All Implemented Interfaces:
com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.psi.PsiElement, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, KtAnnotated, KtCallableDeclaration, KtDeclaration, KtExpression, KtModifierListOwner, KtNamed, KtNamedDeclaration, KtStatementExpression, KtTypeParameterListOwner, KtValVarKeywordOwner, KtVariableDeclaration, KtWithExpressionInitializer

public class KtDestructuringDeclarationEntry
extends KtDeclarationImpl
implements KtVariableDeclaration


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon
 
Field Summary
 
Fields inherited from interface org.jetbrains.kotlin.psi.KtDeclaration
ARRAY_FACTORY, EMPTY_ARRAY
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
Constructor Summary
KtDestructuringDeclarationEntry(com.intellij.lang.ASTNode node)
           
 
Method Summary
<R,D> R
accept(KtVisitor<R,D> visitor, D data)
           
 com.intellij.psi.PsiElement getColon()
           
 FqName getFqName()
           
 KtExpression getInitializer()
           
 java.lang.String getName()
          Deprecated.  
 Name getNameAsName()
          Deprecated.  
 Name getNameAsSafeName()
          Deprecated.  
 com.intellij.psi.PsiElement getNameIdentifier()
          Deprecated.  
 KtTypeReference getReceiverTypeReference()
           
 int getTextOffset()
          Deprecated.  
 KtTypeConstraintList getTypeConstraintList()
           
 java.util.List<KtTypeConstraint> getTypeConstraints()
           
 KtTypeParameterList getTypeParameterList()
           
 java.util.List<KtTypeParameter> getTypeParameters()
           
 KtTypeReference getTypeReference()
           
 com.intellij.psi.search.SearchScope getUseScope()
           
 com.intellij.psi.PsiElement getValOrVarKeyword()
           
 KtParameterList getValueParameterList()
           
 java.util.List<KtParameter> getValueParameters()
           
 boolean hasInitializer()
           
 boolean isVar()
           
 com.intellij.psi.PsiElement setName(java.lang.String name)
          Deprecated.  
 KtTypeReference setTypeReference(KtTypeReference typeRef)
           
 
Methods inherited from class org.jetbrains.kotlin.psi.KtDeclarationImpl
addAnnotationEntry, addModifier, getAnnotationEntries, getAnnotations, getDocComment, getModifierList, hasModifier, removeModifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtNamedDeclaration
getNameAsSafeName
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtDeclaration
getDocComment
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtModifierListOwner
addAnnotationEntry, addModifier, getModifierList, hasModifier, removeModifier
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtAnnotated
getAnnotationEntries, getAnnotations
 
Methods inherited from interface com.intellij.psi.PsiNameIdentifierOwner
getNameIdentifier
 
Methods inherited from interface com.intellij.psi.PsiNamedElement
getName, setName
 
Methods inherited from interface com.intellij.psi.PsiElement
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
 
Methods inherited from interface com.intellij.openapi.util.UserDataHolder
getUserData, putUserData
 
Methods inherited from interface com.intellij.openapi.util.Iconable
getIcon
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtNamed
getNameAsName
 

Constructor Detail

KtDestructuringDeclarationEntry

public KtDestructuringDeclarationEntry(@NotNull
                                       com.intellij.lang.ASTNode node)
Method Detail

getTypeReference

public KtTypeReference getTypeReference()
Specified by:
getTypeReference in interface KtCallableDeclaration

setTypeReference

@Nullable
public KtTypeReference setTypeReference(@Nullable
                                                 KtTypeReference typeRef)
Specified by:
setTypeReference in interface KtCallableDeclaration

getColon

@Nullable
public com.intellij.psi.PsiElement getColon()
Specified by:
getColon in interface KtCallableDeclaration

getValueParameterList

@Nullable
public KtParameterList getValueParameterList()
Specified by:
getValueParameterList in interface KtCallableDeclaration

getValueParameters

@NotNull
public java.util.List<KtParameter> getValueParameters()
Specified by:
getValueParameters in interface KtCallableDeclaration

getReceiverTypeReference

@Nullable
public KtTypeReference getReceiverTypeReference()
Specified by:
getReceiverTypeReference in interface KtCallableDeclaration

getTypeParameterList

@Nullable
public KtTypeParameterList getTypeParameterList()
Specified by:
getTypeParameterList in interface KtTypeParameterListOwner

getTypeConstraintList

@Nullable
public KtTypeConstraintList getTypeConstraintList()
Specified by:
getTypeConstraintList in interface KtTypeParameterListOwner

getTypeConstraints

@NotNull
public java.util.List<KtTypeConstraint> getTypeConstraints()
Specified by:
getTypeConstraints in interface KtTypeParameterListOwner

getTypeParameters

@NotNull
public java.util.List<KtTypeParameter> getTypeParameters()
Specified by:
getTypeParameters in interface KtTypeParameterListOwner

accept

public <R,D> R accept(@NotNull
                      KtVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface KtExpression

isVar

public boolean isVar()
Specified by:
isVar in interface KtVariableDeclaration

getInitializer

@Nullable
public KtExpression getInitializer()
Specified by:
getInitializer in interface KtWithExpressionInitializer

hasInitializer

public boolean hasInitializer()
Specified by:
hasInitializer in interface KtWithExpressionInitializer

getValOrVarKeyword

public com.intellij.psi.PsiElement getValOrVarKeyword()
Specified by:
getValOrVarKeyword in interface KtValVarKeywordOwner

getFqName

@Nullable
public FqName getFqName()
Specified by:
getFqName in interface KtNamedDeclaration

getUseScope

@NotNull
public com.intellij.psi.search.SearchScope getUseScope()
Specified by:
getUseScope in interface com.intellij.psi.PsiElement

getName

public java.lang.String getName()
Deprecated. 
Specified by:
getName in interface com.intellij.psi.PsiNamedElement

getNameAsName

public Name getNameAsName()
Deprecated. 
Specified by:
getNameAsName in interface KtNamed

getNameAsSafeName

@NotNull
public Name getNameAsSafeName()
Deprecated. 
Specified by:
getNameAsSafeName in interface KtNamedDeclaration

getNameIdentifier

public com.intellij.psi.PsiElement getNameIdentifier()
Deprecated. 
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwner

setName

public com.intellij.psi.PsiElement setName(@NonNls@NotNull
                                           java.lang.String name)
                                    throws com.intellij.util.IncorrectOperationException
Deprecated. 
Specified by:
setName in interface com.intellij.psi.PsiNamedElement
Throws:
com.intellij.util.IncorrectOperationException

getTextOffset

public int getTextOffset()
Deprecated. 
Specified by:
getTextOffset in interface com.intellij.psi.PsiElement