public abstract class InferredAnnotationsManager
extends java.lang.Object
NullableNotNullManager
,
Contract
,
Nullable
,
NotNull
,
AnnotationUtil
Constructor and Description |
---|
InferredAnnotationsManager() |
Modifier and Type | Method and Description |
---|---|
abstract PsiAnnotation |
findInferredAnnotation(PsiModifierListOwner listOwner,
java.lang.String annotationFQN) |
abstract PsiAnnotation [] |
findInferredAnnotations(PsiModifierListOwner listOwner)
When annotation name is known, prefer
findInferredAnnotation(PsiModifierListOwner, String) as
potentially faster. |
static InferredAnnotationsManager |
getInstance(Project project) |
abstract boolean |
isInferredAnnotation(PsiAnnotation annotation) |
public static InferredAnnotationsManager getInstance(Project project)
public abstract PsiAnnotation findInferredAnnotation(PsiModifierListOwner listOwner, java.lang.String annotationFQN)
PsiAnnotation
, which are not guaranteed to be equal.public abstract PsiAnnotation [] findInferredAnnotations(PsiModifierListOwner listOwner)
findInferredAnnotation(PsiModifierListOwner, String)
as
potentially faster.public abstract boolean isInferredAnnotation(PsiAnnotation annotation)
AnnotationUtil.isInferredAnnotation(PsiAnnotation)