Record Class DomainElement
java.lang.Object
java.lang.Record
org.scandroid.domain.DomainElement
- Record Components:
codeElement- the code element in question alternate framing: the /current/ fact about the elementtaintSource- the taint (probably from some other point in the code) that affects the code element in question alternate framing: the /initial/ fact about the element
-
Constructor Summary
ConstructorsConstructorDescriptionDomainElement(CodeElement codeElement, FlowType taintSource) Creates an instance of aDomainElementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecodeElementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetaintSourcerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
DomainElement
Creates an instance of aDomainElementrecord class.- Parameters:
codeElement- the value for thecodeElementrecord componenttaintSource- the value for thetaintSourcerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
codeElement
Returns the value of thecodeElementrecord component.- Returns:
- the value of the
codeElementrecord component
-
taintSource
Returns the value of thetaintSourcerecord component.- Returns:
- the value of the
taintSourcerecord component
-