Record Class RetainReleaseBalanceVerifier.Finding
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase9.RetainReleaseBalanceVerifier.Finding
- Record Components:
constructName- fully-qualified construct nameoperation- the operation (method/function body) the finding is indetail- human-readable description of the imbalancestructural- true = a hard structural violation (scope imbalance); false = retain heuristic
- Enclosing class:
RetainReleaseBalanceVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstructNamerecord component.detail()Returns the value of thedetailrecord 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 theoperationrecord component.booleanReturns the value of thestructuralrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Finding
Creates an instance of aFindingrecord class.- Parameters:
constructName- the value for theconstructNamerecord componentoperation- the value for theoperationrecord componentdetail- the value for thedetailrecord componentstructural- the value for thestructuralrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
constructName
Returns the value of theconstructNamerecord component.- Returns:
- the value of the
constructNamerecord component
-
operation
-
detail
-
structural
public boolean structural()Returns the value of thestructuralrecord component.- Returns:
- the value of the
structuralrecord component
-