|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.tools.lint.detector.api.Location.ResourceItemHandle
public static class Location.ResourceItemHandle
Constructor Summary | |
---|---|
Location.ResourceItemHandle(com.android.ide.common.res2.ResourceItem item)
|
Method Summary | |
---|---|
java.lang.Object |
getClientData()
Returns the client data associated with this location - an optional field which can be used by the creator of the Location to store
temporary state associated with the location. |
Location |
resolve()
Compute a full location for the given handle |
void |
setClientData(java.lang.Object clientData)
Sets the client data associated with this location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Location.ResourceItemHandle(@NonNull com.android.ide.common.res2.ResourceItem item)
Method Detail |
---|
@NonNull public Location resolve()
Location.Handle
resolve
in interface Location.Handle
public void setClientData(@Nullable java.lang.Object clientData)
Location.Handle
Location
to store
temporary state associated with the location.
setClientData
in interface Location.Handle
clientData
- the data to store with this location@Nullable public java.lang.Object getClientData()
Location.Handle
Location
to store
temporary state associated with the location.
getClientData
in interface Location.Handle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |