Record Class Terminator.Fallthrough
java.lang.Object
java.lang.Record
io.github.jabrena.juno.analysis.Terminator.Fallthrough
- All Implemented Interfaces:
Terminator
- Enclosing interface:
Terminator
Falls into the next block without an explicit branch instruction.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Terminator
Terminator.Branch, Terminator.Fallthrough, Terminator.Jump, Terminator.Return, Terminator.Switch, Terminator.ThrowModifier and TypeInterfaceDescriptionstatic final recordA conditional branch: control goes totrueTargetor falls through tofalseTarget.static final recordFalls into the next block without an explicit branch instruction.static final recordUnconditionalgoto.static final recordA supported JVM return opcode, or the implicit return past the last instruction of a method.static final recordstatic final recordathrow: control continues at one ofhandlers— the distinct handler offsets whose exception-table ranges cover the throw, in matching order — or leaves the method when none catches it. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inttarget()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Fallthrough
public Fallthrough(int target) Creates an instance of aFallthroughrecord class.- Parameters:
target- the value for thetargetrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
target
public int target()Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-