org.jetbrains.jet.asJava.light
Class LightVariableBuilder<T extends LightVariableBuilder>
java.lang.Object
com.intellij.openapi.util.UserDataHolderBase
com.intellij.psi.impl.ElementBase
com.intellij.psi.impl.PsiElementBase
com.intellij.psi.impl.light.LightElement
org.jetbrains.jet.asJava.light.LightVariableBuilder<T>
- 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.PsiTarget, com.intellij.psi.PsiVariable, java.lang.Cloneable
- Direct Known Subclasses:
- LightParameter
public class LightVariableBuilder<T extends LightVariableBuilder>
- extends com.intellij.psi.impl.light.LightElement
- implements com.intellij.psi.PsiVariable, com.intellij.navigation.NavigationItem
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable |
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon |
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 class com.intellij.openapi.util.UserDataHolderBase |
COPYABLE_USER_MAP_KEY |
Fields inherited from interface com.intellij.psi.PsiNamedElement |
EMPTY_ARRAY |
Fields inherited from interface com.intellij.psi.PsiElement |
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.pom.PomNamedTarget |
EMPTY_ARRAY |
Fields inherited from interface com.intellij.navigation.NavigationItem |
EMPTY_NAVIGATION_ITEM_ARRAY |
Constructor Summary |
LightVariableBuilder(com.intellij.psi.PsiManager manager,
java.lang.String name,
com.intellij.psi.PsiType type,
com.intellij.lang.Language language)
|
LightVariableBuilder(java.lang.String name,
com.intellij.psi.PsiType type,
com.intellij.psi.PsiElement navigationElement)
|
LightVariableBuilder(java.lang.String name,
java.lang.String type,
com.intellij.psi.PsiElement navigationElement)
|
Methods inherited from class com.intellij.psi.impl.light.LightElement |
accept, add, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getContainingFile, getLanguage, getManager, getNavigationElement, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isPhysical, isValid, 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, getUseScope, isEquivalentTo, 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 |
clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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, getUseScope, isEquivalentTo, isPhysical, isValid, 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.psi.PsiTarget |
getNavigationElement |
Methods inherited from interface com.intellij.pom.PomRenameableTarget |
isWritable |
Methods inherited from interface com.intellij.pom.PomTarget |
isValid |
Methods inherited from interface com.intellij.pom.Navigatable |
canNavigate, canNavigateToSource, navigate |
Methods inherited from interface com.intellij.navigation.NavigationItem |
getPresentation |
LightVariableBuilder
public LightVariableBuilder(@NotNull
java.lang.String name,
@NotNull
java.lang.String type,
@NotNull
com.intellij.psi.PsiElement navigationElement)
LightVariableBuilder
public LightVariableBuilder(@NotNull
java.lang.String name,
@NotNull
com.intellij.psi.PsiType type,
@NotNull
com.intellij.psi.PsiElement navigationElement)
LightVariableBuilder
public LightVariableBuilder(com.intellij.psi.PsiManager manager,
@NotNull
java.lang.String name,
@NotNull
com.intellij.psi.PsiType type,
com.intellij.lang.Language language)
toString
public java.lang.String toString()
- Specified by:
toString
in interface com.intellij.psi.PsiElement
- Specified by:
toString
in class com.intellij.psi.impl.light.LightElement
getType
@NotNull
public com.intellij.psi.PsiType getType()
- Specified by:
getType
in interface com.intellij.psi.PsiVariable
getModifierList
@NotNull
public com.intellij.psi.PsiModifierList getModifierList()
- Specified by:
getModifierList
in interface com.intellij.psi.PsiModifierListOwner
setModifiers
public T setModifiers(java.lang.String... modifiers)
hasModifierProperty
public boolean hasModifierProperty(@NonNls@NotNull
java.lang.String name)
- Specified by:
hasModifierProperty
in interface com.intellij.psi.PsiModifierListOwner
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface com.intellij.navigation.NavigationItem
- Specified by:
getName
in interface com.intellij.pom.PomNamedTarget
- Specified by:
getName
in interface com.intellij.psi.PsiNamedElement
- Overrides:
getName
in class com.intellij.psi.impl.PsiElementBase
getTypeElement
public com.intellij.psi.PsiTypeElement getTypeElement()
- Specified by:
getTypeElement
in interface com.intellij.psi.PsiVariable
getInitializer
public com.intellij.psi.PsiExpression getInitializer()
- Specified by:
getInitializer
in interface com.intellij.psi.PsiVariable
hasInitializer
public boolean hasInitializer()
- Specified by:
hasInitializer
in interface com.intellij.psi.PsiVariable
normalizeDeclaration
public void normalizeDeclaration()
throws com.intellij.util.IncorrectOperationException
- Specified by:
normalizeDeclaration
in interface com.intellij.psi.PsiVariable
- Throws:
com.intellij.util.IncorrectOperationException
computeConstantValue
public java.lang.Object computeConstantValue()
- Specified by:
computeConstantValue
in interface com.intellij.psi.PsiVariable
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
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
- Throws:
com.intellij.util.IncorrectOperationException
isVisibilitySupported
protected boolean isVisibilitySupported()
- Overrides:
isVisibilitySupported
in class com.intellij.psi.impl.ElementBase
getElementIcon
public javax.swing.Icon getElementIcon(int flags)
- Overrides:
getElementIcon
in class com.intellij.psi.impl.ElementBase
setBaseIcon
public T setBaseIcon(javax.swing.Icon baseIcon)
setOriginInfo
public void setOriginInfo(@Nullable
java.lang.String originInfo)