Package edu.umd.cs.findbugs.sarif
Class Location.PhysicalLocation
java.lang.Object
edu.umd.cs.findbugs.sarif.Location.PhysicalLocation
- Enclosing class:
Location
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Location.ArtifactLocation
(package private) final Location.Region
-
Constructor Summary
ConstructorsConstructorDescriptionPhysicalLocation
(Location.ArtifactLocation artifactLocation, Location.Region region) -
Method Summary
Modifier and TypeMethodDescription(package private) static Optional
<Location.PhysicalLocation> fromBugAnnotation
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) com.google.gson.JsonObject
-
Field Details
-
artifactLocation
-
region
-
-
Constructor Details
-
PhysicalLocation
PhysicalLocation(@NonNull Location.ArtifactLocation artifactLocation, @Nullable Location.Region region)
-
-
Method Details
-
toJsonObject
com.google.gson.JsonObject toJsonObject() -
fromBugAnnotation
static Optional<Location.PhysicalLocation> fromBugAnnotation(@NonNull BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId)
-