Interface Bytecode.ClassBuilder.FieldBuilder<T>
- Type Parameters:
T- the parent type of base class the class shall be created for
- All Superinterfaces:
Builder<Bytecode.ClassBuilder<T>>
- Enclosing interface:
Bytecode.ClassBuilder<T>
public static interface Bytecode.ClassBuilder.FieldBuilder<T>
extends Builder<Bytecode.ClassBuilder<T>>
Sub-builder for annotations.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionannotate(Class<? extends Annotation> type) Annotates the class with the given annotation.build()Builds the field.
-
Method Details
-
annotate
Annotates the class with the given annotation.- Parameters:
type- the annotation type- Returns:
- the annotation builder for further properties
-
build
Bytecode.ClassBuilder<T> build()Builds the field.
-