Record Class MetadataInjector.InjectResult
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.util.inject.MetadataInjector.InjectResult
- Enclosing class:
MetadataInjector
public static record MetadataInjector.InjectResult(int classesProcessed, int entriesCopied, int abstractMethodsRecorded)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInjectResult(int classesProcessed, int entriesCopied, int abstractMethodsRecorded) Creates an instance of aInjectResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theabstractMethodsRecordedrecord component.intReturns the value of theclassesProcessedrecord component.intReturns the value of theentriesCopiedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InjectResult
public InjectResult(int classesProcessed, int entriesCopied, int abstractMethodsRecorded) Creates an instance of aInjectResultrecord class.- Parameters:
classesProcessed- the value for theclassesProcessedrecord componententriesCopied- the value for theentriesCopiedrecord componentabstractMethodsRecorded- the value for theabstractMethodsRecordedrecord 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 with thecomparemethod from their corresponding wrapper classes. -
classesProcessed
public int classesProcessed()Returns the value of theclassesProcessedrecord component.- Returns:
- the value of the
classesProcessedrecord component
-
entriesCopied
public int entriesCopied()Returns the value of theentriesCopiedrecord component.- Returns:
- the value of the
entriesCopiedrecord component
-
abstractMethodsRecorded
public int abstractMethodsRecorded()Returns the value of theabstractMethodsRecordedrecord component.- Returns:
- the value of the
abstractMethodsRecordedrecord component
-