public interface TypeAnnotationProvider
PsiType
. Since computing type annotations might be computationally expensive sometimes,
this object is used to delay the calculation until annotations are really needed,
and to pass the annotations without calculating them when creating new types based on existing types.Modifier and Type | Interface and Description |
---|---|
static class |
TypeAnnotationProvider.Static |
Modifier and Type | Field and Description |
---|---|
static TypeAnnotationProvider |
EMPTY |
Modifier and Type | Method and Description |
---|---|
PsiAnnotation [] |
getAnnotations() |
static final TypeAnnotationProvider EMPTY
PsiAnnotation [] getAnnotations()