Record Class SourceFileParserParams
java.lang.Object
java.lang.Record
tripleo.elijah_durable_congenial.comp.internal.SourceFileParserParams
public record SourceFileParserParams(CompilerInput input, @NotNull File f, @NotNull String file_name, @NotNull CompilationClosure cc)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSourceFileParserParams(CompilerInput input, @NotNull File f, @NotNull String file_name, @NotNull CompilationClosure cc) Creates an instance of aSourceFileParserParamsrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull CompilationClosurecc()Returns the value of theccrecord component.final booleanIndicates whether some other object is "equal to" this one.@NotNull Filef()Returns the value of thefrecord component.@NotNull StringReturns the value of thefile_namerecord component.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SourceFileParserParams
public SourceFileParserParams(CompilerInput input, @NotNull @NotNull File f, @NotNull @NotNull String file_name, @NotNull @NotNull CompilationClosure cc) Creates an instance of aSourceFileParserParamsrecord class.- Parameters:
input- the value for theinputrecord componentf- the value for thefrecord componentfile_name- the value for thefile_namerecord componentcc- the value for theccrecord 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). -
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
f
Returns the value of thefrecord component.- Returns:
- the value of the
frecord component
-
file_name
Returns the value of thefile_namerecord component.- Returns:
- the value of the
file_namerecord component
-
cc
Returns the value of theccrecord component.- Returns:
- the value of the
ccrecord component
-