diff --git a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotation.java b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotation.java index cf4814603d..6d301566d1 100644 --- a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotation.java +++ b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotation.java @@ -16,6 +16,24 @@ import com.google.summit.ast.modifier.AnnotationModifier; public class ASTAnnotation extends AbstractApexNode.Single { + /** + * Valid annotations in the Apex language. + *

+ * Includes all annotations from the official + * documentation, plus + *

+ * for backward compatibility. + */ private static final ImmutableSet VALID_ANNOTATION_NAMES = ImmutableSet.of( "allowcertifiedapex", "auraenabled",