org.jetbrains.jet.asJava
Class KotlinLightField<T extends JetDeclaration,D extends com.intellij.psi.PsiField>

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.jet.asJava.KotlinLightField<T,D>
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.PsiDocCommentOwner, com.intellij.psi.PsiElement, com.intellij.psi.PsiField, com.intellij.psi.PsiMember, com.intellij.psi.PsiModifierListOwner, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, com.intellij.psi.PsiTarget, com.intellij.psi.PsiVariable, java.lang.Cloneable

public abstract class KotlinLightField<T extends JetDeclaration,D extends com.intellij.psi.PsiField>
extends com.intellij.psi.impl.light.LightElement
implements com.intellij.psi.PsiField


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.PsiField
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
 
Fields inherited from interface com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Constructor Summary
KotlinLightField(com.intellij.psi.PsiManager manager, T origin, D delegate, com.intellij.psi.PsiClass containingClass)
           
 
Method Summary
 java.lang.Object computeConstantValue()
           
abstract  KotlinLightField<T,D> copy()
           
 com.intellij.psi.PsiClass getContainingClass()
           
 D getDelegate()
           
 com.intellij.psi.javadoc.PsiDocComment getDocComment()
           
 com.intellij.psi.PsiExpression getInitializer()
           
 com.intellij.psi.PsiModifierList getModifierList()
           
 java.lang.String getName()
           
 com.intellij.psi.PsiIdentifier getNameIdentifier()
           
 com.intellij.psi.PsiElement getNavigationElement()
           
 T getOrigin()
           
 java.lang.String getText()
           
 com.intellij.openapi.util.TextRange getTextRange()
           
 com.intellij.psi.PsiType getType()
           
 com.intellij.psi.PsiTypeElement getTypeElement()
           
 com.intellij.psi.search.SearchScope getUseScope()
           
 boolean hasInitializer()
           
 boolean hasModifierProperty(java.lang.String name)
           
 boolean isDeprecated()
           
 boolean isValid()
           
 void normalizeDeclaration()
           
 void setInitializer(com.intellij.psi.PsiExpression initializer)
           
 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, delete, findElementAt, getChildren, getContainingFile, getLanguage, getManager, getNextSibling, getNode, getParent, 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, isEquivalentTo, navigate, notNullChild, processDeclarations, textContains
 
Methods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, 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.pom.PomRenameableTarget
isWritable
 
Methods inherited from interface com.intellij.psi.PsiElement
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getTextLength, getTextOffset, isEquivalentTo, 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.navigation.NavigationItem
getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 

Constructor Detail

KotlinLightField

public KotlinLightField(@NotNull
                        com.intellij.psi.PsiManager manager,
                        @NotNull
                        T origin,
                        @NotNull
                        D delegate,
                        @NotNull
                        com.intellij.psi.PsiClass containingClass)
Method Detail

copy

@NotNull
public abstract KotlinLightField<T,D> copy()
Specified by:
copy in interface com.intellij.psi.PsiElement
Overrides:
copy in class com.intellij.psi.impl.light.LightElement

setInitializer

public void setInitializer(@Nullable
                           com.intellij.psi.PsiExpression initializer)
                    throws com.intellij.util.IncorrectOperationException
Specified by:
setInitializer in interface com.intellij.psi.PsiField
Throws:
com.intellij.util.IncorrectOperationException

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

getName

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

getNameIdentifier

@NotNull
public com.intellij.psi.PsiIdentifier getNameIdentifier()
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiField
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwner
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiVariable

getDocComment

public com.intellij.psi.javadoc.PsiDocComment getDocComment()
Specified by:
getDocComment in interface com.intellij.psi.PsiDocCommentOwner

isDeprecated

public boolean isDeprecated()
Specified by:
isDeprecated in interface com.intellij.psi.PsiDocCommentOwner

getContainingClass

public com.intellij.psi.PsiClass getContainingClass()
Specified by:
getContainingClass in interface com.intellij.psi.PsiMember

getType

@NotNull
public com.intellij.psi.PsiType getType()
Specified by:
getType in interface com.intellij.psi.PsiVariable

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

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

getModifierList

public com.intellij.psi.PsiModifierList getModifierList()
Specified by:
getModifierList in interface com.intellij.psi.PsiModifierListOwner

hasModifierProperty

public boolean hasModifierProperty(@NonNls@NotNull
                                   java.lang.String name)
Specified by:
hasModifierProperty in interface com.intellij.psi.PsiModifierListOwner

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

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

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

getOrigin

@NotNull
public T getOrigin()

getDelegate

@NotNull
public D getDelegate()

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