| java.lang.Object edu.umd.cs.findbugs.ba.bcp.PatternElement edu.umd.cs.findbugs.ba.bcp.Wild
Wild | public class Wild extends PatternElement (Code) | | A wildcard PatternElement, which matches any kind of instruction
indiscriminately.
author: David Hovemeyer See Also: PatternElement |
Constructor Summary | |
public | Wild() Default constructor. | public | Wild(int max) Constructor. | public | Wild(int min, int max) Constructor. |
Wild | public Wild()(Code) | | Default constructor.
Creates a wildcard that matches from 0 to Integer.MAX_VALUE instructions.
|
Wild | public Wild(int max)(Code) | | Constructor. Matches any number of instructions from 0 to the maximum specified.
Parameters: max - the maximum number of instructions the wildcard may match |
Wild | public Wild(int min, int max)(Code) | | Constructor.
Parameters: min - minimum number of times the wildcard must match Parameters: max - maximum number of times the wildcard may match |
acceptBranch | public boolean acceptBranch(Edge edge, InstructionHandle source)(Code) | | |
maxOccur | public int maxOccur()(Code) | | |
minOccur | public int minOccur()(Code) | | |
setMinAndMax | public void setMinAndMax(int min, int max)(Code) | | Set min and max values.
Parameters: min - minimum number of times the wildcard must match Parameters: max - maximum number of times the wildcard may match |
|
|