public class DefaultInferredAnnotationProvider extends java.lang.Object implements InferredAnnotationProvider
EP_NAME| Constructor and Description |
|---|
DefaultInferredAnnotationProvider(Project project) |
| Modifier and Type | Method and Description |
|---|---|
static PsiAnnotation |
createContractAnnotation(Project project,
boolean pure,
java.lang.String contracts,
java.lang.String mutates) |
PsiAnnotation |
findInferredAnnotation(PsiModifierListOwner listOwner,
java.lang.String annotationFQN) |
java.util.List<PsiAnnotation> |
findInferredAnnotations(PsiModifierListOwner listOwner)
When annotation name is known, prefer
InferredAnnotationProvider.findInferredAnnotation(PsiModifierListOwner, String) as
potentially faster. |
static boolean |
isExperimentalInferredAnnotation(PsiAnnotation annotation) |
public DefaultInferredAnnotationProvider(Project project)
public PsiAnnotation findInferredAnnotation(PsiModifierListOwner listOwner, java.lang.String annotationFQN)
findInferredAnnotation in interface InferredAnnotationProviderPsiAnnotation, which are not guaranteed to be equal.public static PsiAnnotation createContractAnnotation(Project project, boolean pure, java.lang.String contracts, java.lang.String mutates)
public java.util.List<PsiAnnotation> findInferredAnnotations(PsiModifierListOwner listOwner)
InferredAnnotationProviderInferredAnnotationProvider.findInferredAnnotation(PsiModifierListOwner, String) as
potentially faster.findInferredAnnotations in interface InferredAnnotationProviderpublic static boolean isExperimentalInferredAnnotation(PsiAnnotation annotation)