| java.lang.Object edu.umd.cs.findbugs.ba.bcp.PatternElement edu.umd.cs.findbugs.ba.bcp.MatchAny
MatchAny | public class MatchAny extends PatternElement (Code) | | 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 |
MatchAny | public MatchAny(PatternElement[] childList)(Code) | | Constructor.
Parameters: childList - list of child PatternElements |
acceptBranch | public boolean acceptBranch(Edge edge, InstructionHandle source)(Code) | | |
maxOccur | public int maxOccur()(Code) | | |
minOccur | public int minOccur()(Code) | | |
|
|