Package net.fabricmc.loom.extension
Record Class MixinExtension.MixinInformationContainer
java.lang.Object
java.lang.Record
net.fabricmc.loom.extension.MixinExtension.MixinInformationContainer
- Enclosing interface:
- MixinExtension
public static record MixinExtension.MixinInformationContainer(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapNameProvider, org.gradle.api.tasks.util.PatternSet mixinConfigPattern)
extends Record
An information container stores necessary information
for configuring the mixin annotation processor. It's stored
in [SourceSet].ext.mixin.
-
Constructor Summary
ConstructorsConstructorDescriptionMixinInformationContainer(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapNameProvider, org.gradle.api.tasks.util.PatternSet mixinConfigPattern)Creates an instance of aMixinInformationContainerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.org.gradle.api.tasks.util.PatternSetReturns the value of themixinConfigPatternrecord component.org.gradle.api.provider.Provider<String>Returns the value of therefmapNameProviderrecord component.org.gradle.api.tasks.SourceSetReturns the value of thesourceSetrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
MixinInformationContainer
public MixinInformationContainer(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapNameProvider, org.gradle.api.tasks.util.PatternSet mixinConfigPattern)Creates an instance of aMixinInformationContainerrecord class.- Parameters:
sourceSet- the value for thesourceSetrecord componentrefmapNameProvider- the value for therefmapNameProviderrecord componentmixinConfigPattern- the value for themixinConfigPatternrecord component
-
-
Method Details
-
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). -
sourceSet
public org.gradle.api.tasks.SourceSet sourceSet()Returns the value of thesourceSetrecord component.- Returns:
- the value of the
sourceSetrecord component
-
refmapNameProvider
Returns the value of therefmapNameProviderrecord component.- Returns:
- the value of the
refmapNameProviderrecord component
-
mixinConfigPattern
public org.gradle.api.tasks.util.PatternSet mixinConfigPattern()Returns the value of themixinConfigPatternrecord component.- Returns:
- the value of the
mixinConfigPatternrecord component
-