Deprecate Initializer and functions
This commit is contained in:
@ -12,6 +12,7 @@ import org.jaxen.FunctionCallException;
|
||||
import org.jaxen.SimpleFunctionContext;
|
||||
import org.jaxen.XPathFunctionContext;
|
||||
|
||||
import net.sourceforge.pmd.annotation.InternalApi;
|
||||
import net.sourceforge.pmd.lang.ast.AbstractNode;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit;
|
||||
@ -24,6 +25,8 @@ import net.sourceforge.pmd.lang.java.ast.Comment;
|
||||
*
|
||||
* @author Andy Throgmorton
|
||||
*/
|
||||
@InternalApi
|
||||
@Deprecated
|
||||
public class GetCommentOnFunction implements Function {
|
||||
|
||||
public static void registerSelfInSimpleContext() {
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
package net.sourceforge.pmd.lang.java.xpath;
|
||||
|
||||
import net.sourceforge.pmd.annotation.InternalApi;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode;
|
||||
|
||||
@ -12,6 +13,8 @@ import net.sf.saxon.expr.XPathContext;
|
||||
/**
|
||||
* Exposes all Java Language specific functions for Saxon use.
|
||||
*/
|
||||
@InternalApi
|
||||
@Deprecated
|
||||
public final class JavaFunctions {
|
||||
|
||||
private JavaFunctions() {
|
||||
|
@ -15,6 +15,7 @@ import org.jaxen.FunctionCallException;
|
||||
import org.jaxen.SimpleFunctionContext;
|
||||
import org.jaxen.XPathFunctionContext;
|
||||
|
||||
import net.sourceforge.pmd.annotation.InternalApi;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration;
|
||||
import net.sourceforge.pmd.lang.java.ast.MethodLikeNode;
|
||||
@ -32,6 +33,8 @@ import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
|
||||
* @author Clément Fournier
|
||||
* @since 6.0.0
|
||||
*/
|
||||
@InternalApi
|
||||
@Deprecated
|
||||
public class MetricFunction implements Function {
|
||||
|
||||
|
||||
|
@ -12,10 +12,14 @@ import org.jaxen.FunctionCallException;
|
||||
import org.jaxen.SimpleFunctionContext;
|
||||
import org.jaxen.XPathFunctionContext;
|
||||
|
||||
import net.sourceforge.pmd.annotation.InternalApi;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.java.ast.TypeNode;
|
||||
import net.sourceforge.pmd.lang.java.typeresolution.TypeHelper;
|
||||
|
||||
|
||||
@InternalApi
|
||||
@Deprecated
|
||||
public class TypeIsExactlyFunction implements Function {
|
||||
|
||||
public static void registerSelfInSimpleContext() {
|
||||
|
@ -12,10 +12,14 @@ import org.jaxen.FunctionCallException;
|
||||
import org.jaxen.SimpleFunctionContext;
|
||||
import org.jaxen.XPathFunctionContext;
|
||||
|
||||
import net.sourceforge.pmd.annotation.InternalApi;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.java.ast.TypeNode;
|
||||
import net.sourceforge.pmd.lang.java.typeresolution.TypeHelper;
|
||||
|
||||
|
||||
@InternalApi
|
||||
@Deprecated
|
||||
public class TypeIsFunction implements Function {
|
||||
|
||||
public static void registerSelfInSimpleContext() {
|
||||
|
Reference in New Issue
Block a user