SignalReplayCall
final class SignalReplayCall
Package: dev.joid.internal.signal.replay · Module: core · Source: SignalReplayCall.java
One setter call in the code of the application: the line of the caller and the name of the setter.
Description
Section titled “Description”SignalReplay uses it as the key of its caches and to write its warnings.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
SignalReplayCall | of(StackTraceElement caller, String setter) factory | Returns the call of setter made at the line caller. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | getKey() | Returns the key of the call: class, method, line and setter. |
String | describe(List | Returns the start of the warning of this call, as in MenuUI.java:42 text(...) reads clicks; without names, it counts the signals read. |
StackTraceElement | getCaller() | Returns the stack frame of the calling line. |
String | getSetter() | Returns the name of the setter. |
Creation details
Section titled “Creation details”SignalReplayCall of(StackTraceElement caller, String setter) factory
Returns the call of setter made at the line caller.
Method details
Section titled “Method details”getKey
Section titled “getKey”String getKey()
Returns the key of the call: class, method, line and setter.
describe
Section titled “describe”String describe(List<String> nameList, int readCount)
Returns the start of the warning of this call, as in MenuUI.java:42 text(...) reads clicks; without names, it counts the signals read.
getCaller
Section titled “getCaller”StackTraceElement getCaller()
Returns the stack frame of the calling line.
getSetter
Section titled “getSetter”String getSetter()
Returns the name of the setter.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
