Top Description Methods
jakarta.enterprise.inject.build.compatible.spi

public Interface AnnotationBuilderFactory

Imports
java.lang.annotation.Annotation, jakarta.enterprise.lang.model.declarations.ClassInfo

Supports instantiating AnnotationBuilder. Should not be called directly by users; the static methods on AnnotationBuilder are preferred.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public AnnotationBuilder

Returns:

a new AnnotationBuilder
create
(Class<? extends Annotation>
the annotation type
annotationType
)

Returns a new AnnotationBuilder for given annotation type.

public AnnotationBuilder

Returns:

a new AnnotationBuilder
create
(ClassInfo
the annotation type
annotationType
)

Returns a new AnnotationBuilder for given annotation type.

Method Detail

createback to summary
public AnnotationBuilder create(Class<? extends Annotation> annotationType)

Returns a new AnnotationBuilder for given annotation type.

Parameters
annotationType:Class<? extends Annotation>

the annotation type

Returns:AnnotationBuilder

a new AnnotationBuilder

createback to summary
public AnnotationBuilder create(ClassInfo annotationType)

Returns a new AnnotationBuilder for given annotation type.

Parameters
annotationType:ClassInfo

the annotation type

Returns:AnnotationBuilder

a new AnnotationBuilder