Package org.jfxcore.gradle.compiler
Record Class Compiler.CompilationUnit
java.lang.Object
java.lang.Record
org.jfxcore.gradle.compiler.Compiler.CompilationUnit
- Enclosing class:
- Compiler
-
Constructor Summary
ConstructorsConstructorDescriptionCompilationUnit(File markupFile, File javaFile, File classFile) Creates an instance of aCompilationUnitrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassFilerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.javaFile()Returns the value of thejavaFilerecord component.Returns the value of themarkupFilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompilationUnit
Creates an instance of aCompilationUnitrecord class.- Parameters:
markupFile- the value for themarkupFilerecord componentjavaFile- the value for thejavaFilerecord componentclassFile- the value for theclassFilerecord 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). -
markupFile
Returns the value of themarkupFilerecord component.- Returns:
- the value of the
markupFilerecord component
-
javaFile
Returns the value of thejavaFilerecord component.- Returns:
- the value of the
javaFilerecord component
-
classFile
Returns the value of theclassFilerecord component.- Returns:
- the value of the
classFilerecord component
-