public class JetPropertyAccessor extends JetElementImpl implements JetDeclarationWithBody, JetModifierListOwner, JetWithExpressionInitializer
| Constructor and Description |
|---|
JetPropertyAccessor(com.intellij.lang.ASTNode node) |
| Modifier and Type | Method and Description |
|---|---|
<R,D> R |
accept(JetVisitor<R,D> visitor,
D data) |
void |
accept(JetVisitorVoid visitor) |
JetElement |
asElement() |
protected JetExpression |
findExpressionUnder(JetNodeType type) |
JetExpression |
getBodyExpression() |
JetExpression |
getInitializer() |
JetModifierList |
getModifierList() |
com.intellij.psi.PsiElement |
getNamePlaceholder() |
JetParameter |
getParameter() |
JetTypeReference |
getReturnTypeReference() |
java.util.List<JetParameter> |
getValueParameters() |
boolean |
hasBlockBody() |
boolean |
hasDeclaredReturnType() |
boolean |
hasModifier(JetToken modifier) |
boolean |
isGetter() |
boolean |
isSetter() |
accept, acceptChildren, getLanguage, toStringadd, addAfter, addBefore, addInternal, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildInternal, deleteChildRange, findChildByFilter, findChildByType, findChildByType, findChildrenByType, findChildrenByType, findChildrenByType, findChildrenByType, findElementAt, findLastChildByType, findNotNullChildByFilter, findNotNullChildByType, findNotNullChildByType, getChildren, getCopyableUserData, getFirstChild, getLastChild, getManager, getNextSibling, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, putCopyableUserData, replace, replaceChildInternal, subtreeChanged, textContains, textToCharArrayacceptChildren, canNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContainingFile, getContext, getName, getNavigationElement, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, notNullChild, processDeclarations, textMatches, textMatchesbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagsclearUserData, clone, copyCopyableDataTo, copyUserDataTo, getUserData, getUserDataString, isUserDataEmpty, putUserData, putUserDataIfAbsent, replaceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNameacceptChildrenaccept, 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, toStringcanNavigate, canNavigateToSource, navigategetModifierList, hasModifierpublic JetPropertyAccessor(@NotNull com.intellij.lang.ASTNode node)
public void accept(@NotNull JetVisitorVoid visitor)
accept in interface JetElementaccept in interface JetExpressionpublic <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept in interface JetElementaccept in interface JetExpressionpublic boolean isSetter()
public boolean isGetter()
@Nullable public JetParameter getParameter()
@NotNull public java.util.List<JetParameter> getValueParameters()
getValueParameters in interface JetDeclarationWithBody@Nullable public JetExpression getBodyExpression()
getBodyExpression in interface JetDeclarationWithBodypublic boolean hasBlockBody()
hasBlockBody in interface JetDeclarationWithBodypublic boolean hasDeclaredReturnType()
hasDeclaredReturnType in interface JetDeclarationWithBody@NotNull public JetElement asElement()
asElement in interface JetDeclarationWithBody@Nullable public JetTypeReference getReturnTypeReference()
@NotNull public com.intellij.psi.PsiElement getNamePlaceholder()
@Nullable public JetExpression getInitializer()
getInitializer in interface JetWithExpressionInitializer@Nullable public JetModifierList getModifierList()
getModifierList in interface JetModifierListOwnerpublic boolean hasModifier(JetToken modifier)
hasModifier in interface JetModifierListOwnerprotected JetExpression findExpressionUnder(JetNodeType type)