Record Class ScannedClassesToLoad
java.lang.Object
java.lang.Record
dev.voidframework.core.classestoload.ScannedClassesToLoad
- Record Components:
moduleList- The module classes listbindableList- The bindable classes listconverterInformationList- The converter information list
public record ScannedClassesToLoad(List<Class<?>> moduleList, List<Class<?>> bindableList, List<ConverterInformation> converterInformationList)
extends Record
Scanned classes to load into Guice.
-
Constructor Summary
ConstructorsConstructorDescriptionScannedClassesToLoad(List<Class<?>> moduleList, List<Class<?>> bindableList, List<ConverterInformation> converterInformationList) Creates an instance of aScannedClassesToLoadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebindableListrecord component.Returns the value of theconverterInformationListrecord component.intcount()Returns the number of scanned classes detected as loadable.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 themoduleListrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScannedClassesToLoad
public ScannedClassesToLoad(List<Class<?>> moduleList, List<Class<?>> bindableList, List<ConverterInformation> converterInformationList) Creates an instance of aScannedClassesToLoadrecord class.- Parameters:
moduleList- the value for themoduleListrecord componentbindableList- the value for thebindableListrecord componentconverterInformationList- the value for theconverterInformationListrecord component
-
-
Method Details
-
count
public int count()Returns the number of scanned classes detected as loadable.- Returns:
- The number of scanned classes detected as loadable
-
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). -
moduleList
Returns the value of themoduleListrecord component.- Returns:
- the value of the
moduleListrecord component
-
bindableList
Returns the value of thebindableListrecord component.- Returns:
- the value of the
bindableListrecord component
-
converterInformationList
Returns the value of theconverterInformationListrecord component.- Returns:
- the value of the
converterInformationListrecord component
-