public static class CoreMapNodePattern.IntegerAnnotationPattern extends NodePattern<Integer>
NodePattern.AnyNodePattern<T>, NodePattern.ConjNodePattern<T>, NodePattern.DisjNodePattern<T>, NodePattern.EqualsNodePattern<T>, NodePattern.NegateNodePattern<T>
ANY_NODE, CASE_INSENSITIVE, NORMALIZE
Constructor and Description |
---|
IntegerAnnotationPattern(int v) |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
boolean |
match(Integer node)
Returns true if the input node matches this pattern
|
matchWithResult
public boolean match(Integer node)
NodePattern
match
in class NodePattern<Integer>
node
- - node to matchpublic int getValue()