org.jetbrains.kotlin.asJava.elements
Class KtLightParameter

java.lang.Object
  extended by com.intellij.openapi.util.UserDataHolderBase
      extended by com.intellij.psi.impl.ElementBase
          extended by com.intellij.psi.impl.PsiElementBase
              extended by com.intellij.psi.impl.light.LightElement
                  extended by org.jetbrains.kotlin.asJava.elements.LightVariableBuilder
                      extended by org.jetbrains.kotlin.asJava.elements.LightParameter
                          extended by org.jetbrains.kotlin.asJava.elements.KtLightParameter
All Implemented Interfaces:
com.intellij.navigation.NavigationItem, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, com.intellij.pom.Navigatable, com.intellij.pom.PomNamedTarget, com.intellij.pom.PomRenameableTarget<com.intellij.psi.PsiElement>, com.intellij.pom.PomTarget, com.intellij.psi.NavigatablePsiElement, com.intellij.psi.PsiElement, com.intellij.psi.PsiModifierListOwner, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, com.intellij.psi.PsiParameter, com.intellij.psi.PsiTarget, com.intellij.psi.PsiVariable, java.lang.Cloneable

public class KtLightParameter
extends LightParameter


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 class org.jetbrains.kotlin.asJava.elements.LightParameter
EMPTY_ARRAY
 
Fields inherited from class com.intellij.psi.impl.light.LightElement
myManager
 
Fields inherited from class com.intellij.psi.impl.ElementBase
FLAGS_LOCKED, ICON_PLACEHOLDER
 
Fields inherited from interface com.intellij.psi.PsiParameter
ARRAY_FACTORY
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
Fields inherited from interface com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Constructor Summary
KtLightParameter(com.intellij.psi.PsiParameter delegate, int index, KtLightMethod method)
           
 
Method Summary
 com.intellij.psi.PsiParameter getClsDelegate()
           
 com.intellij.psi.PsiFile getContainingFile()
           
 KtParameter getKotlinOrigin()
           
 com.intellij.lang.Language getLanguage()
           
 KtLightMethod getMethod()
           
 com.intellij.psi.PsiModifierList getModifierList()
           
 com.intellij.psi.PsiIdentifier getNameIdentifier()
           
 com.intellij.psi.PsiElement getNavigationElement()
           
 com.intellij.psi.PsiElement getParent()
           
 java.lang.String getText()
           
 com.intellij.openapi.util.TextRange getTextRange()
           
 com.intellij.psi.search.SearchScope getUseScope()
           
 boolean isEquivalentTo(com.intellij.psi.PsiElement another)
           
 boolean isValid()
           
 com.intellij.psi.PsiElement setName(java.lang.String name)
           
 
Methods inherited from class org.jetbrains.kotlin.asJava.elements.LightParameter
accept, getDeclarationScope, getName, isVarArgs, toString
 
Methods inherited from class org.jetbrains.kotlin.asJava.elements.LightVariableBuilder
computeConstantValue, getElementIcon, getInitializer, getType, getTypeElement, hasInitializer, hasModifierProperty, isVisibilitySupported, normalizeDeclaration
 
Methods inherited from class com.intellij.psi.impl.light.LightElement
add, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getManager, getNextSibling, getNode, getPrevSibling, getStartOffsetInParent, getTextLength, getTextOffset, isPhysical, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArray
 
Methods inherited from class com.intellij.psi.impl.PsiElementBase
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, navigate, notNullChild, processDeclarations, textContains
 
Methods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlags
 
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.intellij.psi.PsiParameter
getTypeElement
 
Methods inherited from interface com.intellij.psi.PsiVariable
computeConstantValue, getInitializer, getType, hasInitializer, normalizeDeclaration
 
Methods inherited from interface com.intellij.psi.PsiModifierListOwner
hasModifierProperty
 
Methods inherited from interface com.intellij.psi.PsiElement
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContext, getCopyableUserData, getFirstChild, getLastChild, getManager, getNextSibling, getNode, getOriginalElement, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getTextLength, getTextOffset, isPhysical, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
 
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 com.intellij.pom.PomRenameableTarget
isWritable
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 
Methods inherited from interface com.intellij.navigation.NavigationItem
getPresentation
 

Constructor Detail

KtLightParameter

public KtLightParameter(com.intellij.psi.PsiParameter delegate,
                        int index,
                        KtLightMethod method)
Method Detail

getModifierList

@NotNull
public com.intellij.psi.PsiModifierList getModifierList()
Specified by:
getModifierList in interface com.intellij.psi.PsiModifierListOwner
Overrides:
getModifierList in class LightVariableBuilder

getClsDelegate

@NotNull
public com.intellij.psi.PsiParameter getClsDelegate()

getKotlinOrigin

@Nullable
public KtParameter getKotlinOrigin()

getNavigationElement

@NotNull
public com.intellij.psi.PsiElement getNavigationElement()
Specified by:
getNavigationElement in interface com.intellij.psi.PsiElement
Specified by:
getNavigationElement in interface com.intellij.psi.PsiTarget
Overrides:
getNavigationElement in class com.intellij.psi.impl.light.LightElement

isValid

public boolean isValid()
Specified by:
isValid in interface com.intellij.pom.PomTarget
Specified by:
isValid in interface com.intellij.psi.PsiElement
Overrides:
isValid in class com.intellij.psi.impl.light.LightElement

setName

public com.intellij.psi.PsiElement setName(@NonNls@NotNull
                                           java.lang.String name)
                                    throws com.intellij.util.IncorrectOperationException
Specified by:
setName in interface com.intellij.pom.PomRenameableTarget<com.intellij.psi.PsiElement>
Specified by:
setName in interface com.intellij.psi.PsiNamedElement
Specified by:
setName in interface com.intellij.psi.PsiVariable
Overrides:
setName in class LightVariableBuilder
Throws:
com.intellij.util.IncorrectOperationException

getContainingFile

public com.intellij.psi.PsiFile getContainingFile()
Specified by:
getContainingFile in interface com.intellij.psi.PsiElement
Overrides:
getContainingFile in class com.intellij.psi.impl.light.LightElement

getLanguage

@NotNull
public com.intellij.lang.Language getLanguage()
Specified by:
getLanguage in interface com.intellij.psi.PsiElement
Overrides:
getLanguage in class com.intellij.psi.impl.light.LightElement

getUseScope

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

getMethod

public KtLightMethod getMethod()

getText

public java.lang.String getText()
Specified by:
getText in interface com.intellij.psi.PsiElement
Overrides:
getText in class com.intellij.psi.impl.light.LightElement

getTextRange

public com.intellij.openapi.util.TextRange getTextRange()
Specified by:
getTextRange in interface com.intellij.psi.PsiElement
Overrides:
getTextRange in class com.intellij.psi.impl.light.LightElement

getNameIdentifier

public com.intellij.psi.PsiIdentifier getNameIdentifier()
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwner
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiVariable
Overrides:
getNameIdentifier in class LightVariableBuilder

getParent

public com.intellij.psi.PsiElement getParent()
Specified by:
getParent in interface com.intellij.psi.PsiElement
Overrides:
getParent in class com.intellij.psi.impl.light.LightElement

isEquivalentTo

public boolean isEquivalentTo(com.intellij.psi.PsiElement another)
Specified by:
isEquivalentTo in interface com.intellij.psi.PsiElement
Overrides:
isEquivalentTo in class com.intellij.psi.impl.PsiElementBase