- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
ModuleInfoRequires.BuilderBase.ModuleInfoRequiresImpl
A requires directive of a module info.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forModuleInfoRequires.static classModuleInfoRequires.BuilderBase<BUILDER extends ModuleInfoRequires.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ModuleInfoRequires> Fluent API builder base forModuleInfoRequires. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleInfoRequires.Builderbuilder()Create a new fluent API builder to customize configuration.static ModuleInfoRequires.Builderbuilder(ModuleInfoRequires instance) Create a new fluent API builder from an existing instance.static ModuleInfoRequirescreate()Create a new instance with default values.The module we depend on.booleanisStatic()Whether this is arequires staticdeclaration.booleanWhether this is arequires transitivedeclaration.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
isStatic
boolean isStatic()Whether this is arequires staticdeclaration.- Returns:
- if requires static
-
isTransitive
boolean isTransitive()Whether this is arequires transitivedeclaration.- Returns:
- if requires transitive
-
dependency
String dependency()The module we depend on.- Returns:
- module name we depend on
-