Record Class SideOnlyHandler.TransformResult
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.util.sas.SideOnlyHandler.TransformResult
- Enclosing class:
SideOnlyHandler
public static record SideOnlyHandler.TransformResult(int classesRemoved, int fieldsRemoved, int methodsRemoved, int annotationsRemoved)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransformResult(int classesRemoved, int fieldsRemoved, int methodsRemoved, int annotationsRemoved) Creates an instance of aTransformResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theannotationsRemovedrecord component.intReturns the value of theclassesRemovedrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefieldsRemovedrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themethodsRemovedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TransformResult
public TransformResult(int classesRemoved, int fieldsRemoved, int methodsRemoved, int annotationsRemoved) Creates an instance of aTransformResultrecord class.- Parameters:
classesRemoved- the value for theclassesRemovedrecord componentfieldsRemoved- the value for thefieldsRemovedrecord componentmethodsRemoved- the value for themethodsRemovedrecord componentannotationsRemoved- the value for theannotationsRemovedrecord 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. -
classesRemoved
public int classesRemoved()Returns the value of theclassesRemovedrecord component.- Returns:
- the value of the
classesRemovedrecord component
-
fieldsRemoved
public int fieldsRemoved()Returns the value of thefieldsRemovedrecord component.- Returns:
- the value of the
fieldsRemovedrecord component
-
methodsRemoved
public int methodsRemoved()Returns the value of themethodsRemovedrecord component.- Returns:
- the value of the
methodsRemovedrecord component
-
annotationsRemoved
public int annotationsRemoved()Returns the value of theannotationsRemovedrecord component.- Returns:
- the value of the
annotationsRemovedrecord component
-