@Beta
public interface AnnotableTypeBuilder
Modifier and Type | Method and Description |
---|---|
AnnotationTypeBuilder |
addAnnotation(JavaTypeName identifier)
The method creates new
AnnotationTypeBuilder containing specified package name an annotation name. |
default AnnotationTypeBuilder |
addAnnotation(String packageName,
String simpleName)
The method creates new
AnnotationTypeBuilder containing specified package name an annotation name. |
AnnotationTypeBuilder addAnnotation(JavaTypeName identifier)
AnnotationTypeBuilder
containing specified package name an annotation name.identifier
- JavaTypeName of the annotationdefault AnnotationTypeBuilder addAnnotation(String packageName, String simpleName)
AnnotationTypeBuilder
containing specified package name an annotation name.
Neither the package name or annotation name can contain null
references. In case that any
of parameters contains null
the method SHOULD thrown IllegalArgumentException
packageName
- Package Name of Annotation TypesimpleName
- Name of Annotation Typenew
instance of Annotation Type Builder.NullPointerException
- if any of the arguments are nullIllegalArgumentException
- if any of the arguments is an empty stringCopyright © 2019 OpenDaylight. All rights reserved.