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