Interface ASTUserClassOrInterface<T extends apex.jorje.semantic.ast.compilation.Compilation>
-
- All Superinterfaces:
ApexNode<T>
,ApexQualifiableNode
,GenericNode<ApexNode<?>>
,Node
,Reportable
- All Known Implementing Classes:
ASTUserClass
,ASTUserEnum
,ASTUserInterface
,ASTUserTrigger
public interface ASTUserClassOrInterface<T extends apex.jorje.semantic.ast.compilation.Compilation> extends ApexQualifiableNode, ApexNode<T>
An Apex type declaration.- Author:
- Clément Fournier
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NonNull NodeStream<ASTMethod>
getMethods()
Returns the (non-synthetic) methods defined in this type.default ASTModifierNode
getModifiers()
Return the modifier node for this type declaration.String
getSimpleName()
Return the simple name of the type defined by this node.-
Methods inherited from interface net.sourceforge.pmd.lang.apex.ast.ApexNode
getApexVersion, getDefiningType, getNamespace, getNode, getRoot, hasRealLoc, jjtAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.apex.ast.ApexQualifiableNode
getQualifiedName
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getNthParent, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getParentsOfType, getReportLocation, getTextDocument, getTextRegion, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantOfType, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
getSimpleName
String getSimpleName()
Return the simple name of the type defined by this node.
-
getModifiers
default ASTModifierNode getModifiers()
Return the modifier node for this type declaration.
-
getMethods
default @NonNull NodeStream<ASTMethod> getMethods()
Returns the (non-synthetic) methods defined in this type.
-
-