Record Class CompanionSource
java.lang.Object
java.lang.Record
org.ek9lang.assist.CompanionSource
- Record Components:
filename- The resource filename (e.g., "QA0726_referenced_module.ek9")source- The full source text of the companion filedev- True if this is a dev source (filename contains "_dev_" after QA ID)
-
Constructor Summary
ConstructorsConstructorDescriptionCompanionSource(String filename, String source, boolean dev) Creates an instance of aCompanionSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandev()Returns the value of thedevrecord component.final booleanIndicates whether some other object is "equal to" this one.filename()Returns the value of thefilenamerecord component.final inthashCode()Returns a hash code value for this object.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompanionSource
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
filename
-
source
-
dev
-