java.lang.Object
java.lang.Record
org.aya.cli.single.CompilerFlags.Message
- Enclosing class:
CompilerFlags
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompilerFlags.Messagestatic final CompilerFlags.Message -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull StringReturns the value of thefailNotationrecord component.final inthashCode()Returns a hash code value for this object.@NotNull StringReturns the value of thesuccessNotationrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMOJI
-
ASCII
-
-
Constructor Details
-
Message
Creates an instance of aMessagerecord class.- Parameters:
successNotation- the value for thesuccessNotationrecord componentfailNotation- the value for thefailNotationrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
successNotation
Returns the value of thesuccessNotationrecord component.- Returns:
- the value of the
successNotationrecord component
-
failNotation
Returns the value of thefailNotationrecord component.- Returns:
- the value of the
failNotationrecord component
-