|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.tools.lint.detector.api.Location.SearchHints
public static class Location.SearchHints
Extra information pertaining to finding a symbol in a source buffer,
used by Location.create(File, String, int, String, String, SearchHints)
| Method Summary | |
|---|---|
static Location.SearchHints |
create(Location.SearchDirection direction)
Constructs a new Location.SearchHints object |
boolean |
isConstructor()
|
boolean |
isJavaSymbol()
|
boolean |
isWholeWord()
|
Location.SearchHints |
matchConstructor()
Indicates that pattern matches should apply to constructors. |
Location.SearchHints |
matchJavaSymbol()
Indicates that pattern matches should apply to Java symbols only |
Location.SearchHints |
matchWholeWord()
Indicates that pattern matches should apply to whole words only |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@NonNull
public static Location.SearchHints create(@NonNull
Location.SearchDirection direction)
Location.SearchHints object
direction - the direction to search in for the pattern
@NonNull public Location.SearchHints matchWholeWord()
public boolean isWholeWord()
@NonNull public Location.SearchHints matchJavaSymbol()
public boolean isJavaSymbol()
@NonNull public Location.SearchHints matchConstructor()
public boolean isConstructor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||