public class AnnotationMatcherUtils extends Object
Modifier and Type | Method and Description |
---|---|
static com.sun.source.tree.ExpressionTree |
getArgument(com.sun.source.tree.AnnotationTree annotationTree,
String name)
Gets the value for an argument, or null if the argument does not exist.
|
public static com.sun.source.tree.ExpressionTree getArgument(com.sun.source.tree.AnnotationTree annotationTree, String name)
annotationTree
- the AST node for the annotationname
- the name of the argument whose value to getCopyright © 2017. All rights reserved.