Uses of Class
net.sourceforge.pmd.lang.ast.AstInfo
Packages that use AstInfo
Package
Description
Logic about reporting: violations, suppression etc.
-
Uses of AstInfo in net.sourceforge.pmd.lang
Methods in net.sourceforge.pmd.lang that return AstInfo -
Uses of AstInfo in net.sourceforge.pmd.lang.ast
Methods in net.sourceforge.pmd.lang.ast that return AstInfoModifier and TypeMethodDescriptionNode.getAstInfo()Returns theAstInfofor this root node.RootNode.getAstInfo()AstInfo.withSuppressionComments(Collection<? extends ViolationSuppressor.SuppressionCommentWrapper> suppressionComments) AstInfo.withSuppressMap(Map<Integer, String> map) Deprecated.Since 7.14.0. -
Uses of AstInfo in net.sourceforge.pmd.reporting
Methods in net.sourceforge.pmd.reporting with parameters of type AstInfoModifier and TypeMethodDescriptionvoidRuleContext.addViolationNoSuppress(Reportable reportable, AstInfo<?> astInfo, String message, Object... formatArgs) voidRuleContext.addViolationWithPosition(Reportable reportable, AstInfo<?> astInfo, FileLocation location, String message, Object... formatArgs) Record a new violation of the contextual rule, at the given location (node or token).