|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.intellij.openapi.util.UserDataHolderBase
com.intellij.psi.impl.ElementBase
com.intellij.psi.impl.PsiElementBase
com.intellij.psi.impl.light.LightElement
org.jetbrains.jet.asJava.LightVariableBuilder
public class LightVariableBuilder
| 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 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)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
computeConstantValue()
|
javax.swing.Icon |
getElementIcon(int flags)
|
com.intellij.psi.PsiExpression |
getInitializer()
|
com.intellij.psi.PsiModifierList |
getModifierList()
|
java.lang.String |
getName()
|
com.intellij.psi.PsiIdentifier |
getNameIdentifier()
|
com.intellij.psi.PsiType |
getType()
|
com.intellij.psi.PsiTypeElement |
getTypeElement()
|
boolean |
hasInitializer()
|
boolean |
hasModifierProperty(java.lang.String name)
|
protected boolean |
isVisibilitySupported()
|
void |
normalizeDeclaration()
|
com.intellij.psi.PsiElement |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
| 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 |
|---|
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.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 |
| Constructor Detail |
|---|
public LightVariableBuilder(com.intellij.psi.PsiManager manager,
@NotNull
java.lang.String name,
@NotNull
com.intellij.psi.PsiType type,
com.intellij.lang.Language language)
| Method Detail |
|---|
public java.lang.String toString()
toString in interface com.intellij.psi.PsiElementtoString in class com.intellij.psi.impl.light.LightElement@NotNull public com.intellij.psi.PsiType getType()
getType in interface com.intellij.psi.PsiVariable@NotNull public com.intellij.psi.PsiModifierList getModifierList()
getModifierList in interface com.intellij.psi.PsiModifierListOwner
public boolean hasModifierProperty(@NonNls@NotNull
java.lang.String name)
hasModifierProperty in interface com.intellij.psi.PsiModifierListOwner@NotNull public java.lang.String getName()
getName in interface com.intellij.navigation.NavigationItemgetName in interface com.intellij.pom.PomNamedTargetgetName in interface com.intellij.psi.PsiNamedElementgetName in class com.intellij.psi.impl.PsiElementBasepublic com.intellij.psi.PsiTypeElement getTypeElement()
getTypeElement in interface com.intellij.psi.PsiVariablepublic com.intellij.psi.PsiExpression getInitializer()
getInitializer in interface com.intellij.psi.PsiVariablepublic boolean hasInitializer()
hasInitializer in interface com.intellij.psi.PsiVariable
public void normalizeDeclaration()
throws com.intellij.util.IncorrectOperationException
normalizeDeclaration in interface com.intellij.psi.PsiVariablecom.intellij.util.IncorrectOperationExceptionpublic java.lang.Object computeConstantValue()
computeConstantValue in interface com.intellij.psi.PsiVariablepublic com.intellij.psi.PsiIdentifier getNameIdentifier()
getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwnergetNameIdentifier in interface com.intellij.psi.PsiVariable
public com.intellij.psi.PsiElement setName(@NonNls@NotNull
java.lang.String name)
throws com.intellij.util.IncorrectOperationException
setName in interface com.intellij.pom.PomRenameableTarget<com.intellij.psi.PsiElement>setName in interface com.intellij.psi.PsiNamedElementsetName in interface com.intellij.psi.PsiVariablecom.intellij.util.IncorrectOperationExceptionprotected boolean isVisibilitySupported()
isVisibilitySupported in class com.intellij.psi.impl.ElementBasepublic javax.swing.Icon getElementIcon(int flags)
getElementIcon in class com.intellij.psi.impl.ElementBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||