Class GetCommentOnFunction
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.xpath.GetCommentOnFunction
-
- All Implemented Interfaces:
org.jaxen.Function
public class GetCommentOnFunction extends java.lang.Object implements org.jaxen.Function
The XPath query "//VariableDeclarator[contains(getCommentOn(), '//password')]" will find all variables declared that are annotated with the password comment.- Author:
- Andy Throgmorton
-
-
Constructor Summary
Constructors Constructor Description GetCommentOnFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call(org.jaxen.Context context, java.util.List args)
static void
registerSelfInSimpleContext()
-
-
-
Method Detail
-
registerSelfInSimpleContext
public static void registerSelfInSimpleContext()
-
call
public java.lang.Object call(org.jaxen.Context context, java.util.List args) throws org.jaxen.FunctionCallException
- Specified by:
call
in interfaceorg.jaxen.Function
- Throws:
org.jaxen.FunctionCallException
-
-