2021-06-26 01:13:46 +00:00
|
|
|
package the.bytecode.club.bytecodeviewer.gui.resourcesearch;
|
|
|
|
|
|
|
|
import the.bytecode.club.bytecodeviewer.searching.*;
|
2021-07-04 07:03:40 +00:00
|
|
|
import the.bytecode.club.bytecodeviewer.searching.impl.FieldCallSearch;
|
|
|
|
import the.bytecode.club.bytecodeviewer.searching.impl.LDCSearch;
|
|
|
|
import the.bytecode.club.bytecodeviewer.searching.impl.MethodCallSearch;
|
|
|
|
import the.bytecode.club.bytecodeviewer.searching.impl.RegexSearch;
|
2021-06-26 01:13:46 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Konloch
|
|
|
|
* @since 6/25/2021
|
|
|
|
*/
|
|
|
|
public enum SearchType
|
|
|
|
{
|
|
|
|
Strings(new LDCSearch()),
|
|
|
|
Regex(new RegexSearch()),
|
|
|
|
MethodCall(new MethodCallSearch()),
|
|
|
|
FieldCall(new FieldCallSearch());
|
|
|
|
|
|
|
|
public final SearchTypeDetails details;
|
|
|
|
|
|
|
|
SearchType(final SearchTypeDetails details)
|
|
|
|
{
|
|
|
|
this.details = details;
|
|
|
|
}
|
|
|
|
}
|