java.lang.Object
java.lang.Record
org.aya.cli.single.CompilerFlags
public record CompilerFlags(@NotNull CompilerFlags.Message message, boolean interruptedTrace, boolean remake, CompilerFlags.PrettyInfo prettyInfo, @NotNull kala.collection.SeqLike<Path> modulePaths, @Nullable Path outputFile)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionCompilerFlags(@NotNull CompilerFlags.Message message, boolean interruptedTrace, boolean remake, CompilerFlags.PrettyInfo prettyInfo, @NotNull kala.collection.SeqLike<Path> modulePaths, @Nullable Path outputFile) Creates an instance of aCompilerFlagsrecord class. -
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.booleanReturns the value of theinterruptedTracerecord component.@NotNull CompilerFlags.Messagemessage()Returns the value of themessagerecord component.@NotNull kala.collection.SeqLike<Path>Returns the value of themodulePathsrecord component.@Nullable PathReturns the value of theoutputFilerecord component.Returns the value of theprettyInforecord component.static CompilerFlags.PrettyInfoprettyInfoFromOutput(@Nullable Path outputFile, @NotNull RenderOptions renderOptions, boolean noCodeStyle, boolean inlineCodeStyle, boolean SSR) booleanremake()Returns the value of theremakerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompilerFlags
public CompilerFlags(@NotNull @NotNull CompilerFlags.Message message, boolean interruptedTrace, boolean remake, @Nullable CompilerFlags.PrettyInfo prettyInfo, @NotNull @NotNull kala.collection.SeqLike<Path> modulePaths, @Nullable @Nullable Path outputFile) Creates an instance of aCompilerFlagsrecord class.- Parameters:
message- the value for themessagerecord componentinterruptedTrace- the value for theinterruptedTracerecord componentremake- the value for theremakerecord componentprettyInfo- the value for theprettyInforecord componentmodulePaths- the value for themodulePathsrecord componentoutputFile- the value for theoutputFilerecord component
-
-
Method Details
-
prettyInfoFromOutput
@Nullable public static CompilerFlags.PrettyInfo prettyInfoFromOutput(@Nullable @Nullable Path outputFile, @NotNull @NotNull RenderOptions renderOptions, boolean noCodeStyle, boolean inlineCodeStyle, boolean SSR) -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
interruptedTrace
public boolean interruptedTrace()Returns the value of theinterruptedTracerecord component.- Returns:
- the value of the
interruptedTracerecord component
-
remake
public boolean remake()Returns the value of theremakerecord component.- Returns:
- the value of the
remakerecord component
-
prettyInfo
Returns the value of theprettyInforecord component.- Returns:
- the value of the
prettyInforecord component
-
modulePaths
Returns the value of themodulePathsrecord component.- Returns:
- the value of the
modulePathsrecord component
-
outputFile
Returns the value of theoutputFilerecord component.- Returns:
- the value of the
outputFilerecord component
-