Deprecated API


Contents
Deprecated Methods
net.sourceforge.pmd.AbstractRule.addProperties(Properties)
            
net.sourceforge.pmd.AbstractRule.addProperty(String, String)
            
net.sourceforge.pmd.RuleSetFactory.createRuleSet(String, ClassLoader)
          Use createRuleSets instead, because this method puts all rules in one single RuleSet object, and thus removes name and language of the originating rule set files. 
net.sourceforge.pmd.AbstractRule.getBooleanProperty(String)
          - use getBooleanProperty(PropertyDescriptor) instead 
net.sourceforge.pmd.ast.JavaCharStream.getColumn()
            
net.sourceforge.pmd.ast.CharStream.getColumn()
            
net.sourceforge.pmd.cpd.cppast.SimpleCharStream.getColumn()
            
net.sourceforge.pmd.jsp.ast.CharStream.getColumn()
            
net.sourceforge.pmd.AbstractRule.getDoubleProperty(String)
          - use getDoubleProperty(PropertyDescriptor) instead 
net.sourceforge.pmd.AbstractRule.getExample()
          use getExamples(), since we now support multiple examples 
net.sourceforge.pmd.Rule.getExample()
          use getExamples(), since we now support multiple examples 
net.sourceforge.pmd.CommonAbstractRule.getExample()
          use getExamples(), since we now support multiple examples 
net.sourceforge.pmd.jsp.rules.AbstractJspRule.getExample()
          use getExamples(), since we now support multiple examples 
net.sourceforge.pmd.AbstractRule.getIntProperty(String)
          - use getIntProperty(PropertyDescriptor) instead 
net.sourceforge.pmd.ast.JavaCharStream.getLine()
            
net.sourceforge.pmd.ast.CharStream.getLine()
            
net.sourceforge.pmd.cpd.cppast.SimpleCharStream.getLine()
            
net.sourceforge.pmd.jsp.ast.CharStream.getLine()
            
net.sourceforge.pmd.AbstractRule.getProperties()
          - retrieve by name using getProperty or getProperties 
net.sourceforge.pmd.AbstractRule.getStringProperty(String)
          - use getStringProperty(PropertyDescriptor) instead 
net.sourceforge.pmd.AbstractRule.hasProperty(String)
          - property values will be guaranteed available via default values 
net.sourceforge.pmd.renderers.Renderer.render(Report)
          This method consumes too much memory. Use the render method with the Writer argument instead. 
net.sourceforge.pmd.renderers.Renderer.render(Writer, Report)
          This method consumes too much memory. Use the start, renderFileReport and end methods instead. 
net.sourceforge.pmd.AbstractRule.setBooleanProperty(String, boolean)
          - use setProperty(PropertyDescriptor, Object) instead