Package 

Class ASTFieldDeclarationStatements

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.apex.ast.ApexNode , net.sourceforge.pmd.lang.ast.Node , net.sourceforge.pmd.lang.ast.impl.GenericNode , net.sourceforge.pmd.reporting.Reportable

    
    public final class ASTFieldDeclarationStatements
    extends AbstractApexNode.Single<T>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ASTModifierNode getModifiers()
      String getTypeName() Returns the type name.
      List<String> getTypeArguments() This returns the first level of the type arguments.
      • Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode.Single

        hasRealLoc
      • Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode

        acceptVisitor, getDefiningType, getRoot, getTextRegion, getXPathNodeName
      • Methods inherited from class net.sourceforge.pmd.lang.ast.impl.AbstractNode

        children, firstChild, getChild, getIndexInParent, getNumChildren, getParent, getUserMap, toString
      • Methods inherited from class net.sourceforge.pmd.lang.ast.impl.GenericNode

        ancestors, ancestorsOrSelf, asStream, descendants, descendantsOrSelf, getFirstChild, getLastChild, getNextSibling, getPreviousSibling
      • Methods inherited from class net.sourceforge.pmd.lang.ast.Node

        acceptVisitor, ancestors, ancestors, ancestorsOrSelf, asStream, children, children, compareLocation, descendants, descendants, descendantsOrSelf, getAstInfo, getBeginColumn, getBeginLine, getChild, getEndColumn, getEndLine, getFirstChild, getImage, getLanguageVersion, getLastChild, getNextSibling, getParent, getPreviousSibling, getReportLocation, getRoot, getTextDocument, getTextRegion, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getTypeName

         String getTypeName()

        Returns the type name.

        This includes any type arguments. If the type is a primitive, its case will be normalized.

      • getTypeArguments

         List<String> getTypeArguments()

        This returns the first level of the type arguments. If there are nested types (e.g. List<List<String>>), then these returned types contain themselves type arguments.

        Note: This method only exists for this AST type and in no other type, even though type arguments are possible e.g. for getType.