Record Class FunctionProbes.Registered
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.generator.FunctionProbes.Registered
- Record Components:
coverageEntry- the coverage FUNCTION_ENTRY probeprofilingEntry- the PROFILING_ENTRY probeprofilingExit- the PROFILING_EXIT probe, placed before every return
- Enclosing class:
FunctionProbes
-
Constructor Summary
ConstructorsConstructorDescriptionRegistered(IRInstr coverageEntry, IRInstr profilingEntry, IRInstr profilingExit) Creates an instance of aRegisteredrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoverageEntryrecord component.The probes that open the body, in order: coverage entry, then profiling entry.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisEmpty()True when neither coverage nor profiling instruments this function.Returns the value of theprofilingEntryrecord component.Returns the value of theprofilingExitrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Registered
Creates an instance of aRegisteredrecord class.- Parameters:
coverageEntry- the value for thecoverageEntryrecord componentprofilingEntry- the value for theprofilingEntryrecord componentprofilingExit- the value for theprofilingExitrecord component
-
-
Method Details
-
entryProbes
-
isEmpty
public boolean isEmpty()True when neither coverage nor profiling instruments this function. -
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). -
coverageEntry
Returns the value of thecoverageEntryrecord component.- Returns:
- the value of the
coverageEntryrecord component
-
profilingEntry
Returns the value of theprofilingEntryrecord component.- Returns:
- the value of the
profilingEntryrecord component
-
profilingExit
Returns the value of theprofilingExitrecord component.- Returns:
- the value of the
profilingExitrecord component
-