All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.pmd.lang.apex.ast.ASTCommentContainer Maven / Gradle / Ivy

There is a newer version: 7.5.0
Show newest version
/*
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */

package net.sourceforge.pmd.lang.apex.ast;

/**
 * Interface for nodes that can contain comments. Because comments are for the most part lost, the tree builder only
 * captures whether the node did contain comments of any sort in the source code and not the actual contents of those
 * comments. This is useful for rules which need to know whether a node did contain comments.
 *
 * 

This information is used for the rule "EmptyCatchBlock", which can ignore empty catch blocks, if they * contain comments. */ public interface ASTCommentContainer extends ApexNode { boolean getContainsComment(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy