public class DeclarationAnnotationHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeclarationAnnotationHelper.DeclarationAnnotationsInfo
Represents information about where to place declaration and
ElementType.TYPE_USE
annotations for a place where both can occur. |
| Modifier and Type | Method and Description |
|---|---|
static DeclarationAnnotationHelper.DeclarationAnnotationsInfo |
getDeclarationInfo(JavaTypeInstance nullableAnnotatedType,
List<AnnotationTableEntry> declarationAnnotations,
List<AnnotationTableTypeEntry> typeAnnotations)
Calculates information about where to place declaration and
ElementType.TYPE_USE
annotations for a place where both can occur. |
public static DeclarationAnnotationHelper.DeclarationAnnotationsInfo getDeclarationInfo(JavaTypeInstance nullableAnnotatedType, List<AnnotationTableEntry> declarationAnnotations, List<AnnotationTableTypeEntry> typeAnnotations)
ElementType.TYPE_USE
annotations for a place where both can occur.nullableAnnotatedType - Type for which the TYPE_USE annotations apply, null if there is no
type (e.g. for constructor declarations)declarationAnnotations - Annotations for the declaration, e.g. ElementType.FIELDtypeAnnotations - Annotations for the type, i.e. ElementType.TYPE_USECopyright © 2011-2021. All Rights Reserved.