net.sourceforge.pmd.lang.java.xpath
Class GetCommentOnFunction
java.lang.Object
net.sourceforge.pmd.lang.java.xpath.GetCommentOnFunction
- All Implemented Interfaces:
- org.jaxen.Function
public class GetCommentOnFunction
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetCommentOnFunction
public GetCommentOnFunction()
registerSelfInSimpleContext
public static void registerSelfInSimpleContext()
call
public Object call(org.jaxen.Context context,
List args)
throws org.jaxen.FunctionCallException
- Specified by:
call
in interface org.jaxen.Function
- Throws:
org.jaxen.FunctionCallException
Copyright © 2002-2015 InfoEther. All Rights Reserved.