Skip to content

Commit

Permalink
Revert "Revert "Enable field search (#96)" (#99)"
Browse files Browse the repository at this point in the history
This reverts commit f6d1389.
  • Loading branch information
pranavgaikwad authored Jul 5, 2024
1 parent f6d1389 commit a5fecd8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ private static SearchPattern getPatternSingleQuery(int location, String query) t
return SearchPattern.createPattern(query, IJavaSearchConstants.CONSTRUCTOR, IJavaSearchConstants.ALL_OCCURRENCES, pattern);
case 11:
return SearchPattern.createPattern(query, IJavaSearchConstants.PACKAGE, IJavaSearchConstants.ALL_OCCURRENCES, pattern);
case 12:
return SearchPattern.createPattern(query, IJavaSearchConstants.TYPE, IJavaSearchConstants.FIELD_DECLARATION_TYPE_REFERENCE, pattern);
}
throw new Exception("unable to create search pattern");
}
Expand Down

0 comments on commit a5fecd8

Please sign in to comment.