Modifier and Type | Method and Description |
---|---|
SourceFile |
getFile()
Source file for this location
|
int |
getIsolateId()
Worker to which this location belongs.
|
int |
getLine()
Line number within the source for this location
|
static Location |
getRaw(Location l)
Returns the raw Location underlying a ThreadSafeLocation.
|
Object |
getSyncObject() |
static Object |
getSyncObject(Location l) |
static ThreadSafeLocation |
wrap(Object syncObj,
Location location)
Wraps a Location inside a ThreadSafeLocation.
|
static ThreadSafeLocation[] |
wrapArray(Object syncObj,
Location[] locations)
Wraps an array of Locations inside an array of ThreadSafeLocations.
|
public static ThreadSafeLocation wrap(Object syncObj, Location location)
public static ThreadSafeLocation[] wrapArray(Object syncObj, Location[] locations)
public static Location getRaw(Location l)
public SourceFile getFile()
Location
public int getLine()
Location
public int getIsolateId()
Location
getIsolateId
in interface Location
public final Object getSyncObject()
Copyright © 2016 The Apache Software Foundation. All rights reserved.