Skip to content

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.

SignalReplay uses it as the key of its caches and to write its warnings.

ReturnsSignatureSummary
SignalReplayCallof(StackTraceElement caller, String setter) factoryReturns the call of setter made at the line caller.

ReturnsSignatureSummary
StringgetKey()Returns the key of the call: class, method, line and setter.
Stringdescribe(List 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.
StackTraceElementgetCaller()Returns the stack frame of the calling line.
StringgetSetter()Returns the name of the setter.

SignalReplayCall of(StackTraceElement caller, String setter) factory

Returns the call of setter made at the line caller.

String getKey()

Returns the key of the call: class, method, line and setter.

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.

StackTraceElement getCaller()

Returns the stack frame of the calling line.

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

Report a problem with this page