Record Class Mode.ModeOptionContext
java.lang.Object
java.lang.Record
com.palantir.gradle.suppressibleerrorprone.modes.common.Mode.ModeOptionContext
- Enclosing interface:
Mode
-
Constructor Summary
ConstructorsConstructorDescriptionModeOptionContext(Optional<String> flagValue, org.gradle.api.tasks.compile.JavaCompile javaCompile) Creates an instance of aModeOptionContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.net.ltgt.gradle.errorprone.ErrorProneOptionsReturns the value of theflagValuerecord component.final inthashCode()Returns a hash code value for this object.org.gradle.api.tasks.compile.JavaCompileReturns the value of thejavaCompilerecord component.org.gradle.api.file.ProjectLayoutfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModeOptionContext
-
-
Method Details
-
projectLayout
public org.gradle.api.file.ProjectLayout projectLayout() -
extension
-
errorProneOptions
public net.ltgt.gradle.errorprone.ErrorProneOptions errorProneOptions() -
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). -
flagValue
-
javaCompile
public org.gradle.api.tasks.compile.JavaCompile javaCompile()Returns the value of thejavaCompilerecord component.- Returns:
- the value of the
javaCompilerecord component
-