Record Class ScannedClassesToLoad
java.lang.Object
java.lang.Record
dev.voidframework.core.classestoload.ScannedClassesToLoad
- Record Components:
moduleList- The module classes listbindableList- The bindable classes listproxyableList- The proxyable interfaces listaspectList- The aspectJ annotated classes listconverterInformationList- The converter information listinterfaceImplementationCountMap- The interface implementation count map
public record ScannedClassesToLoad(List<Class<?>> moduleList, List<Class<?>> bindableList, List<Class<?>> proxyableList, List<Class<?>> aspectList, List<ConverterInformation> converterInformationList, Map<Class<?>,Integer> interfaceImplementationCountMap)
extends Record
Scanned classes to load into Guice.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionScannedClassesToLoad(List<Class<?>> moduleList, List<Class<?>> bindableList, List<Class<?>> proxyableList, List<Class<?>> aspectList, List<ConverterInformation> converterInformationList, Map<Class<?>, Integer> interfaceImplementationCountMap) Creates an instance of aScannedClassesToLoadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaspectListrecord component.Returns 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 theinterfaceImplementationCountMaprecord component.Returns the value of themoduleListrecord component.Returns the value of theproxyableListrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScannedClassesToLoad
public ScannedClassesToLoad(List<Class<?>> moduleList, List<Class<?>> bindableList, List<Class<?>> proxyableList, List<Class<?>> aspectList, List<ConverterInformation> converterInformationList, Map<Class<?>, Integer> interfaceImplementationCountMap) Creates an instance of aScannedClassesToLoadrecord class.- Parameters:
moduleList- the value for themoduleListrecord componentbindableList- the value for thebindableListrecord componentproxyableList- the value for theproxyableListrecord componentaspectList- the value for theaspectListrecord componentconverterInformationList- the value for theconverterInformationListrecord componentinterfaceImplementationCountMap- the value for theinterfaceImplementationCountMaprecord 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
- Since:
- 1.0.0
-
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
-
proxyableList
Returns the value of theproxyableListrecord component.- Returns:
- the value of the
proxyableListrecord component
-
aspectList
Returns the value of theaspectListrecord component.- Returns:
- the value of the
aspectListrecord component
-
converterInformationList
Returns the value of theconverterInformationListrecord component.- Returns:
- the value of the
converterInformationListrecord component
-
interfaceImplementationCountMap
Returns the value of theinterfaceImplementationCountMaprecord component.- Returns:
- the value of the
interfaceImplementationCountMaprecord component
-