Interface ASTUserClassOrInterface
-
- All Implemented Interfaces:
-
net.sourceforge.pmd.lang.apex.ast.ApexNode
,net.sourceforge.pmd.lang.apex.ast.ApexQualifiableNode
,net.sourceforge.pmd.lang.ast.Node
,net.sourceforge.pmd.lang.ast.impl.GenericNode
,net.sourceforge.pmd.reporting.Reportable
public interface ASTUserClassOrInterface<T> implements ApexQualifiableNode, ApexNode<T>
An Apex type declaration.
Clément Fournier
-
-
Method Summary
Modifier and Type Method Description abstract String
getSimpleName()
Return the simple name of the type defined by this node. ASTModifierNode
getModifiers()
Return the modifier node for this type declaration. NodeStream<ASTMethod>
getMethods()
Returns the (non-synthetic) methods defined in this type. boolean
isNested()
Returns true if this type declaration is nested inside a class. -
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.ApexQualifiableNode
getQualifiedName
-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.ApexNode
getDefiningType, getRoot, hasRealLoc
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling
-
Methods inherited from class net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, ancestors, ancestorsOrSelf, asStream, children, children, compareLocation, descendants, descendants, descendantsOrSelf, firstChild, getAstInfo, getBeginColumn, getBeginLine, getChild, getEndColumn, getEndLine, getFirstChild, getImage, getIndexInParent, getLanguageVersion, getLastChild, getNextSibling, getNumChildren, getParent, getPreviousSibling, getReportLocation, getRoot, getTextDocument, getTextRegion, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSimpleName
abstract String getSimpleName()
Return the simple name of the type defined by this node.
-
getModifiers
ASTModifierNode getModifiers()
Return the modifier node for this type declaration.
-
getMethods
@NonNull() NodeStream<ASTMethod> getMethods()
Returns the (non-synthetic) methods defined in this type.
-
isNested
boolean isNested()
Returns true if this type declaration is nested inside a class.
- Since:
7.4.0
-
-
-
-