Skip to content

SignalReplayFailure

enum SignalReplayFailure
Package: dev.joid.internal.signal.replay · Module: core · Source: SignalReplayFailure.java

Kinds of expression that the replay cannot follow, each with its reason and its advice.

Each value gives the end of the dev warning that names the line. The advice is always the same idea: compute the value with map(...), with Signal.from(() -> ...) or with a lambda read at every frame.

ReturnsSignatureSummary
StringgetReason()Returns the reason, a format with %s for the details.
StringgetAdvice()Returns the advice, a format with %s for the details.
ValueSummary
CLASS_NOT_FOUNDThe bytecode of the calling class cannot be read.
MEMBER_NOT_FOUNDA field, method or class named in the bytecode does not exist at runtime, for example after a renaming that the ISignalReplayBridge does not map.
CALL_NOT_FOUNDThe call of the setter is not on the line, often because the .class file was compiled again since the launch.
AMBIGUOUS_CALLSeveral calls of the same setter on one line give the same value from the same signals; write one call per line.
UNSUPPORTED_INSTRUCTIONThe expression uses an instruction that the replay does not run.
LAMBDAThe expression contains a lambda.
LOCAL_COMBINEDA local variable is combined with a signal in the expression.
LOCAL_CONDITIONA local variable decides a condition of the expression.
VALUE_DIFFERSRunning the expression again gives another value than the one received: it has side effects or reads the time or a random value.
SIGNALS_DIFFERRunning the expression again reads other signals than the first time.
ACCESS_REFUSEDThe module of a class refuses the reflective access; the advice gives the opens line to add to its module-info.
REPLAY_FAILEDThe replay threw while it ran the expression.

String getReason()

Returns the reason, a format with %s for the details.

String getAdvice()

Returns the advice, a format with %s for the details.

CLASS_NOT_FOUND

The bytecode of the calling class cannot be read.

MEMBER_NOT_FOUND

A field, method or class named in the bytecode does not exist at runtime, for example after a renaming that the ISignalReplayBridge does not map.

CALL_NOT_FOUND

The call of the setter is not on the line, often because the .class file was compiled again since the launch.

AMBIGUOUS_CALL

Several calls of the same setter on one line give the same value from the same signals; write one call per line.

UNSUPPORTED_INSTRUCTION

The expression uses an instruction that the replay does not run.

LAMBDA

The expression contains a lambda.

LOCAL_COMBINED

A local variable is combined with a signal in the expression.

LOCAL_CONDITION

A local variable decides a condition of the expression.

VALUE_DIFFERS

Running the expression again gives another value than the one received: it has side effects or reads the time or a random value.

SIGNALS_DIFFER

Running the expression again reads other signals than the first time.

ACCESS_REFUSED

The module of a class refuses the reflective access; the advice gives the opens line to add to its module-info.

REPLAY_FAILED

The replay threw while it ran the expression.


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