In Recaf under the “Search” menu item there are multiple kinds of searches. Each type of search is described below. All search kinds share common behavior:
- Search input fields that are left empty are counted as “wildcard” search parameters. This means that they will match any value. Some examples of using wildcard searches will be outlined below as examples.
- The match mode for text content can be changed. The supported modes are:
- Contains: If the target text contains the input field text, match.
- Equals: If the target text is an exact copy of the input field text from start to end, match.
- Starts with: If the target text starts with the text of the input field, match.
- Ends with: If the target text ends with the text of the input field, match.
- Regex: If the target text matches the regular expression pattern of the input field, match.
- Searches can be sped up if you choose to skip packages you are not interested in looking at in larger files
Finds defined string constants.
|Match URL strings like
|Match common IPv4 address like
Finds defined numeric constants. The matched value type is determined by the suffix (or lack of suffix) of the value input text
Fwill search for
Dwill search for
Lwill search for
- No suffix will search for
Accepted number formats are decimal numbers, floating point numbers, and hexadecimal numbers.
Finds where types are referenced. This is not to be confused with member reference. This finds instantiations of the type in the following cases:
x instanceof Example
Finds where members are referenced.
|Search for all references to anything in the
|Search for all references of any member of the class
|Search for all references to any member named
|Search for all references to any
|Search for all references to any method that returns an
Wildcard searches are very flexible in this search category
Finds field and method definitions.
|Search for all declared fields and methods of any class containing the text
|Search for all declared fields and methods named named
|Search for all declared
|Search for all declared methods that returns an
Finds instruction patterns based on disassembled methods.
|Description||Text lines||Match Mode|
|Search for all constructor calls by matching the