Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Methods

Deprecated Classes
net.sourceforge.pmd.AbstractRule - Use AbstractJavaRule instead
net.sourceforge.pmd.ast.AccessNode Use SimpleJavaAccessNode instead.
net.sourceforge.pmd.cpd.FileFinder Use net.sourceforge.pmd.util.FileFinder instead.

Deprecated Methods
net.sourceforge.pmd.CommonAbstractRule.addProperties(Properties)
net.sourceforge.pmd.CommonAbstractRule.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.CommonAbstractRule.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.CommonAbstractRule.getDoubleProperty(String) - use getDoubleProperty(PropertyDescriptor) instead
net.sourceforge.pmd.Rule.getExample() use getExamples(), since we now support multiple examples
net.sourceforge.pmd.CommonAbstractRule.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.CommonAbstractRule.getProperties() - retrieve by name using getProperty or getProperties
net.sourceforge.pmd.PMDException.getReason() use `Throwable.getCause()` instead
net.sourceforge.pmd.CommonAbstractRule.getStringProperty(String) - use getStringProperty(PropertyDescriptor) instead
net.sourceforge.pmd.CommonAbstractRule.hasProperty(String) - property values will be guaranteed available via default values
net.sourceforge.pmd.Rule.include() Don't know what this is for, so deprecating it.
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.ast.AccessNodeInterface.setAbstract() Use setAbstract(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setFinal() Use setFinal(boolean) instead.
net.sourceforge.pmd.Rule.setInclude(boolean) Don't know what this is for, so deprecating it.
net.sourceforge.pmd.ast.AccessNodeInterface.setNative() Use setNative(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setPrivate() Use setPrivate(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setProtected() Use setProtected(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setPublic() Use setPublic(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setStatic() Use setStatic(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setStrictfp() Use setStrictfp(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setSynchronized() Use setSynchronized(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setTransient() Use setTransient(boolean) instead.
net.sourceforge.pmd.ast.AccessNodeInterface.setVolatile() Use setVolatile(boolean) instead.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002-2009 InfoEther. All Rights Reserved.