edu.umd.cs.findbugs.ba.bcp
Class MatchAny
public
class
MatchAny
extends PatternElement
A "meta" PatternElement that matches any of a list of other child PatternElements.
An example of how this is useful is that you might want to match invocations of any
of a number of different methods. To do this, you can create a MatchAny
with some number of Invoke elements as children.
Note that the minOccur() and maxOccur() counts of the child PatternElements
are ignored. A MatchAny element always matches exactly one instruction.
Author: David Hovemeyer
See Also: PatternElement
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.