Record Class ModuleInfoRequires
java.lang.Object
java.lang.Record
io.helidon.codegen.ModuleInfoRequires
- Record Components:
module- module that is requiredisTransitive- whether the requires is defined astransitiveisStatic- whether the requires is defined asstatic
-
Constructor Summary
ConstructorsConstructorDescriptionModuleInfoRequires(String module, boolean isTransitive, boolean isStatic) Creates an instance of aModuleInfoRequiresrecord 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.booleanisStatic()Returns the value of theisStaticrecord component.booleanReturns the value of theisTransitiverecord component.module()Returns the value of themodulerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModuleInfoRequires
Creates an instance of aModuleInfoRequiresrecord class.- Parameters:
module- the value for themodulerecord componentisTransitive- the value for theisTransitiverecord componentisStatic- the value for theisStaticrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
module
-
isTransitive
public boolean isTransitive()Returns the value of theisTransitiverecord component.- Returns:
- the value of the
isTransitiverecord component
-
isStatic
-