Index
All Classes and Interfaces|All Packages
B
- Buildable - Annotation Interface in io.jonasg.bob
-
Marks a class to be buildable, which will generate a builder for the class.
- Buildable.Constructor - Annotation Interface in io.jonasg.bob
-
Marks a constructor as buildable.
C
- constructorPolicy() - Element in annotation interface io.jonasg.bob.Buildable
-
Specifies the constructor policy to be applied when building an instance of the annotated class.
- ConstructorPolicy - Enum Class in io.jonasg.bob
-
Enumerates the policies for constructor behavior in the
Buildableannotation context.
E
- ENFORCED - Enum constant in enum class io.jonasg.bob.ConstructorPolicy
-
Requires all fields to be explicitly set in the constructor.
- excludeFields() - Element in annotation interface io.jonasg.bob.Buildable
-
List of fields to be excluded to be included in the builder.
I
- io.jonasg.bob - package io.jonasg.bob
O
- ofNameWithinType(String, String) - Static method in class io.jonasg.bob.RequiredField
- orElseThrow() - Method in class io.jonasg.bob.RequiredField
P
- packageName() - Element in annotation interface io.jonasg.bob.Buildable
-
The package name of the generated builder.
- PERMISSIVE - Enum constant in enum class io.jonasg.bob.ConstructorPolicy
-
Allows the object to be constructed even if not all constructor parameters have been explicitly set.
R
- RequiredField<T> - Class in io.jonasg.bob
-
Container Object for a required field and its value
S
- set(T) - Method in class io.jonasg.bob.RequiredField
- setterPrefix() - Element in annotation interface io.jonasg.bob.Buildable
-
The setterPrefix for the generated setters.
V
- valueOf(String) - Static method in enum class io.jonasg.bob.ConstructorPolicy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.jonasg.bob.ConstructorPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages