|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Location.Handle
A Location.Handle
is a reference to a location. The point of a location
handle is to be able to create them cheaply, and then resolve them into
actual locations later (if needed). This makes it possible to for example
delay looking up line numbers, for locations that are offset based.
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. |
Method Detail |
---|
@NonNull Location resolve()
void setClientData(@Nullable java.lang.Object clientData)
Location
to store
temporary state associated with the location.
clientData
- the data to store with this location@Nullable java.lang.Object getClientData()
Location
to store
temporary state associated with the location.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |