Class LogicalLocation
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.LogicalLocation
A logical location of a construct that produced a result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name.The human-readable fully qualified name of the logical location.getIndex()The index within the logical locations array.getKind()The type of construct this logical location component refers to.getName()Identifies the construct in which the result occurred.Identifies the index of the immediate parent of the construct in which the result was detected.Key/value pairs that provide additional information about the object.inthashCode()voidsetDecoratedName(String decoratedName) The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name.voidsetFullyQualifiedName(String fullyQualifiedName) The human-readable fully qualified name of the logical location.voidThe index within the logical locations array.voidThe type of construct this logical location component refers to.voidIdentifies the construct in which the result occurred.voidsetParentIndex(Integer parentIndex) Identifies the index of the immediate parent of the construct in which the result was detected.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.toString()withDecoratedName(String decoratedName) withFullyQualifiedName(String fullyQualifiedName) withParentIndex(Integer parentIndex) withProperties(PropertyBag properties)
-
Constructor Details
-
LogicalLocation
public LogicalLocation()
-
-
Method Details
-
getName
Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method. -
setName
Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method. -
withName
-
getIndex
The index within the logical locations array. -
setIndex
The index within the logical locations array. -
withIndex
-
getFullyQualifiedName
The human-readable fully qualified name of the logical location. -
setFullyQualifiedName
The human-readable fully qualified name of the logical location. -
withFullyQualifiedName
-
getDecoratedName
The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name. -
setDecoratedName
The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name. -
withDecoratedName
-
getParentIndex
Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type. -
setParentIndex
Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type. -
withParentIndex
-
getKind
The type of construct this logical location component refers to. Should be one of 'function', 'member', 'module', 'namespace', 'parameter', 'resource', 'returnType', 'type', 'variable', 'object', 'array', 'property', 'value', 'element', 'text', 'attribute', 'comment', 'declaration', 'dtd' or 'processingInstruction', if any of those accurately describe the construct. -
setKind
The type of construct this logical location component refers to. Should be one of 'function', 'member', 'module', 'namespace', 'parameter', 'resource', 'returnType', 'type', 'variable', 'object', 'array', 'property', 'value', 'element', 'text', 'attribute', 'comment', 'declaration', 'dtd' or 'processingInstruction', if any of those accurately describe the construct. -
withKind
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-