Deprecated API
Contents
-
Packages Package Description net.sourceforge.pmd.cache
-
Interfaces Interface Description net.sourceforge.pmd.benchmark.BenchmarkReport net.sourceforge.pmd.cache.AnalysisCache This is internal API, will be hidden with 7.0.0net.sourceforge.pmd.cache.ChecksumAware This is internal API, will be hidden with 7.0.0net.sourceforge.pmd.cpd.Renderer UseCPDRenderer
insteadnet.sourceforge.pmd.dcd.graph.NodeVisitor SeeDCD
net.sourceforge.pmd.dcd.graph.NodeVisitorAcceptor SeeDCD
net.sourceforge.pmd.lang.ast.CharStream net.sourceforge.pmd.lang.ast.QualifiableNode Not useful anymorenet.sourceforge.pmd.lang.ast.QualifiedName Not useful anymorenet.sourceforge.pmd.lang.ast.xpath.AttributeNode SeeNode.getXPathAttributesIterator()
. Will be removed in 7.0.0net.sourceforge.pmd.lang.DataFlowHandler SeeDataFlowNode
net.sourceforge.pmd.lang.dfa.DataFlowNode The data flow codebase will be removed in PMD 7. The feature is unreliable, hard to use, and the implementation is unmaintainable. See https://github.com/pmd/pmd/issues/2647net.sourceforge.pmd.lang.dfa.DFAGraphMethod Only used by the deprecated designernet.sourceforge.pmd.lang.dfa.DFAGraphRule Only used by the deprecated designernet.sourceforge.pmd.lang.dfa.pathfinder.Executable SeeDataFlowNode
net.sourceforge.pmd.lang.metrics.MetricMemoizer See package descriptionnet.sourceforge.pmd.lang.metrics.MetricsComputer See package descriptionnet.sourceforge.pmd.lang.metrics.ProjectMemoizer See package descriptionnet.sourceforge.pmd.lang.rule.ImmutableLanguage No rule supports a change to their language. This will be made the default behaviour with PMD 7.0.0.net.sourceforge.pmd.lang.rule.RuleChainVisitor This interface will be removed. It's only used in internal code. Language implementors no longer need to register a rulechain visitor implementation in theBaseLanguageModule
constructor.net.sourceforge.pmd.lang.rule.stat.StatisticalRule Statistical rules can be implemented much more easily with plain rules, and this framework is confusing and under-documented. All interfaces and classes related to this rule will be removed by 7.0.0. See also #483.net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery This will be internalized in 7.0.0.net.sourceforge.pmd.lang.VisitorStarter Is internal API, and is now only used on methods deprecated for removal.net.sourceforge.pmd.lang.XPathHandler net.sourceforge.pmd.properties.builders.PropertyDescriptorExternalBuilder net.sourceforge.pmd.properties.EnumeratedPropertyDescriptor Will be removed with 7.0.0. In the future this interface won't exist, but enumerated properties will still be aroundnet.sourceforge.pmd.properties.MultiValuePropertyDescriptor The hard divide between multi- and single-value properties will be removed with 7.0.0net.sourceforge.pmd.properties.NumericPropertyDescriptor Will be removed with 7.0.0. In the future this interface won't exist, but numeric properties will still be aroundnet.sourceforge.pmd.properties.PackagedPropertyDescriptor net.sourceforge.pmd.properties.SingleValuePropertyDescriptor The hard divide between multi- and single-value properties will be removed with 7.0.0net.sourceforge.pmd.properties.ValueParser net.sourceforge.pmd.renderers.CodeClimateRule net.sourceforge.pmd.ThreadSafeReportListener All entry points of PMD that allowed usage of this are now deprecated. This will be replaced by analysis listeners in PMD 7, a more general event handling mechanism (see #3692)net.sourceforge.pmd.util.designer.LineGetter net.sourceforge.pmd.util.filter.Filter Will be replaced with standard java.util.function.Predicate with 7.0.0net.sourceforge.pmd.util.SearchFunction Will be replaced with standard java.util.function.Predicate with 7.0.0net.sourceforge.pmd.util.viewer.model.ViewerModelListener
-
Enums Enum Description net.sourceforge.pmd.benchmark.Benchmark net.sourceforge.pmd.lang.dfa.NodeType SeeDataFlowNode
net.sourceforge.pmd.properties.PropertyDescriptorField Will be removed with 7.0.0net.sourceforge.pmd.util.log.MessageReporter.Level Will be replaced with SLF4J Level in PMD 7
-
Exceptions Exceptions Description net.sourceforge.pmd.lang.antlr.AntlrTokenManager.ANTLRSyntaxError On 7.0.x branch this has been replaced byTokenMgrError
alreadynet.sourceforge.pmd.lang.dfa.LinkerException SeeDataFlowNode
net.sourceforge.pmd.lang.dfa.SequenceException SeeDataFlowNode
net.sourceforge.pmd.lang.dfa.VariableAccessException SeeDataFlowNode
net.sourceforge.pmd.PMDException net.sourceforge.pmd.RuleSetNotFoundException This is now only thrown by deprecated apis.RuleSetLoader
throwsRuleSetLoadException
instead
-
Enum Constants Enum Constant Description net.sourceforge.pmd.lang.rule.xpath.XPathVersion.XPATH_1_0 Will become unsupported in 7.0.0net.sourceforge.pmd.lang.rule.xpath.XPathVersion.XPATH_1_0_COMPATIBILITY Will become unsupported in 7.0.0net.sourceforge.pmd.properties.PropertyTypeId.BOOLEAN_LIST net.sourceforge.pmd.properties.PropertyTypeId.CLASS net.sourceforge.pmd.properties.PropertyTypeId.CLASS_LIST net.sourceforge.pmd.properties.PropertyTypeId.FLOAT net.sourceforge.pmd.properties.PropertyTypeId.FLOAT_LIST