Record Class ComponentScanner.SourceScope
java.lang.Object
java.lang.Record
com.ultikits.ultitools.context.ComponentScanner.SourceScope
- Enclosing class:
ComponentScanner
private static record ComponentScanner.SourceScope(List<PluginCodeSource> sources, ClassLoader loader, String pluginName, Set<String> reportedShadows)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassLoaderThe field for theloaderrecord component.private final StringThe field for thepluginNamerecord component.The field for thereportedShadowsrecord component.private final List<PluginCodeSource> The field for thesourcesrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSourceScope(List<PluginCodeSource> sources, ClassLoader loader, String pluginName, Set<String> reportedShadows) Creates an instance of aSourceScoperecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.loader()Returns the value of theloaderrecord component.Returns the value of thepluginNamerecord component.Returns the value of thereportedShadowsrecord component.sources()Returns the value of thesourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sources
The field for thesourcesrecord component. -
loader
The field for theloaderrecord component. -
pluginName
The field for thepluginNamerecord component. -
reportedShadows
-
-
Constructor Details
-
SourceScope
private SourceScope(List<PluginCodeSource> sources, ClassLoader loader, String pluginName, Set<String> reportedShadows) Creates an instance of aSourceScoperecord class.- Parameters:
sources- the value for thesourcesrecord componentloader- the value for theloaderrecord componentpluginName- the value for thepluginNamerecord componentreportedShadows- the value for thereportedShadowsrecord 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). -
sources
Returns the value of thesourcesrecord component.- Returns:
- the value of the
sourcesrecord component
-
loader
Returns the value of theloaderrecord component.- Returns:
- the value of the
loaderrecord component
-
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
reportedShadows
-