[scala] Remove deprecated classes/methods
This commit is contained in:
@ -75,12 +75,6 @@ abstract class AbstractScalaNode<T extends Tree> extends AbstractNode<AbstractSc
|
||||
return ScalaNode.super.compareLocation(node);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public T getNode() {
|
||||
return node;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getXPathNodeName() {
|
||||
return node.productPrefix().replace(".", "");
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
package net.sourceforge.pmd.lang.scala.ast;
|
||||
|
||||
import net.sourceforge.pmd.lang.ast.AstVisitor;
|
||||
import net.sourceforge.pmd.lang.ast.impl.GenericNode;
|
||||
|
||||
import scala.meta.Tree;
|
||||
@ -17,28 +16,6 @@ import scala.meta.Tree;
|
||||
* The Scala node type that extends Scala's Tree trait
|
||||
*/
|
||||
public interface ScalaNode<T extends Tree> extends GenericNode<ScalaNode<?>> {
|
||||
|
||||
/**
|
||||
* Accept a visitor and traverse this node.
|
||||
*
|
||||
* @deprecated Use {@link #acceptVisitor(AstVisitor, Object)}
|
||||
*/
|
||||
@Deprecated
|
||||
default <D, R> R accept(ScalaParserVisitor<D, R> visitor, D data) {
|
||||
return acceptVisitor(visitor, data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the underlying Scala Node.
|
||||
*
|
||||
* @return the Scala Node for this node
|
||||
* @deprecated The underlying scala node should not be used directly.
|
||||
*/
|
||||
@Deprecated
|
||||
T getNode();
|
||||
|
||||
|
||||
/**
|
||||
* Returns true if the node is implicit. If this node has no non-implicit
|
||||
* descendant, then its text bounds identify an empty region of the source
|
||||
|
Reference in New Issue
Block a user