Package 

Class ASTAnnotation

  • 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 ASTAnnotation
    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
      String getName() Returns the normalized annotation name for known, valid annotations.
      String getRawName() Returns the annotation name as it appears in the source code.
      String getImage()
      boolean isResolved()
      • 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, 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

      • getName

         String getName()

        Returns the normalized annotation name for known, valid annotations. The normalized name is in PascalCase. If an unknown annotation is used, the raw name (as in the source code) is returned.

      • getRawName

         String getRawName()

        Returns the annotation name as it appears in the source code. This allows to verify the casing.