Record Class IncludeResolution
java.lang.Object
java.lang.Record
io.github.protasm.jvmud.compiler.preproc.IncludeResolution
-
Constructor Summary
ConstructorsConstructorDescriptionIncludeResolution(String source, Path resolvedPath, String displayPath) Creates an instance of aIncludeResolutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayPathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresolvedPathrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IncludeResolution
Creates an instance of aIncludeResolutionrecord class.- Parameters:
source- the value for thesourcerecord componentresolvedPath- the value for theresolvedPathrecord componentdisplayPath- the value for thedisplayPathrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
resolvedPath
Returns the value of theresolvedPathrecord component.- Returns:
- the value of the
resolvedPathrecord component
-
displayPath
Returns the value of thedisplayPathrecord component.- Returns:
- the value of the
displayPathrecord component
-