Location(resource: Resource)
Create a new instance of the Location class.
resource - the resource with which this location is associated
Location(resource: Resource, @Nullable source: Any)
Create a new instance of the Location class.
resource - the resource with which this location is associated
source - the actual location within the associated resource (may be null)