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 thefailNotionrecord component.final inthashCode()Returns a hash code value for this object.@NotNull StringReturns the value of thesuccessNotionrecord 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:
successNotion- the value for thesuccessNotionrecord componentfailNotion- the value for thefailNotionrecord 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). -
successNotion
Returns the value of thesuccessNotionrecord component.- Returns:
- the value of the
successNotionrecord component
-
failNotion
Returns the value of thefailNotionrecord component.- Returns:
- the value of the
failNotionrecord component
-