1 parent
92499ed3a0
commit
1c9a73426c
9 files changed
+54
No files matched your search
@@ -18,6 +18,23 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### API Changes
|
||||
|
||||
#### Deprecated APIs
|
||||
|
||||
##### For removal
|
||||
|
||||
* The `DumpFacades` in all languages, that could be used to transform a AST into a textual representation,
|
||||
will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
* {% jdoc !q!apex::lang.apex.ast.DumpFacade %}
|
||||
* {% jdoc !q!java::lang.java.ast.DumpFacade %}
|
||||
* {% jdoc !q!javascript::lang.ecmascript.ast.DumpFacade %}
|
||||
* {% jdoc !q!jsp::lang.jsp.ast.DumpFacade %}
|
||||
* {% jdoc !q!plsql::lang.plsql.ast.DumpFacade %}
|
||||
* {% jdoc !q!visualforce::lang.vf.ast.DumpFacade %}
|
||||
* {% jdoc !q!vm::lang.vm.ast.AbstractVmNode#dump(String, boolean, Writer) %}
|
||||
* {% jdoc !q!xml::lang.xml.ast.DumpFacade %}
|
||||
* The method {% jdoc !c!core::lang.LanguageVersionHandler#getDumpFacade(Writer, String, boolean) %} will be
|
||||
removed as well.
|
||||
|
||||
### External Contributions
|
||||
|
||||
* [#1803](https://github.com/pmd/pmd/pull/1803): \[dart] \[cpd] Dart escape sequences - [Maikel Steneker](https://github.com/maikelsteneker)
|
||||
|
||||
@@ -12,6 +12,11 @@ import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.util.StringUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
@@ -10,6 +10,11 @@ import java.io.Writer;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade extends JavaParserVisitorAdapter {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
@@ -12,6 +12,11 @@ import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.util.StringUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
@@ -12,6 +12,11 @@ import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade extends JspParserVisitorAdapter {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
@@ -10,6 +10,11 @@ import java.io.Writer;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade extends PLSQLParserVisitorAdapter {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
@@ -12,6 +12,11 @@ import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade extends VfParserVisitorAdapter {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
@@ -151,7 +151,9 @@ public class AbstractVmNode extends AbstractNode implements VmNode {
|
||||
* children.
|
||||
*
|
||||
* @param prefix
|
||||
* @deprecated This method will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public void dump(final String prefix, final boolean recurse, final Writer writer) {
|
||||
final PrintWriter printWriter = writer instanceof PrintWriter ? (PrintWriter) writer : new PrintWriter(writer);
|
||||
printWriter.println(toString(prefix));
|
||||
|
||||
@@ -14,6 +14,11 @@ import java.util.List;
|
||||
import net.sourceforge.pmd.lang.ast.xpath.Attribute;
|
||||
import net.sourceforge.pmd.util.StringUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated This class will be removed with PMD 7. The rule designer is a better way to inspect nodes.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DumpFacade {
|
||||
|
||||
private PrintWriter writer;
|
||||
|
||||
Reference in new issue
Block a user