public interface OverrideImplementsAnnotationsHandler
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<OverrideImplementsAnnotationsHandler> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
default java.lang.String [] |
annotationsToRemove(Project project,
java.lang.String fqName)
Deprecated.
|
default void |
cleanup(PsiModifierListOwner source,
PsiElement targetClass,
PsiModifierListOwner target)
Perform post processing on the annotations, such as deleting or renaming or otherwise updating annotations in the override
|
java.lang.String[] |
getAnnotations(Project project)
Deprecated.
|
default java.lang.String[] |
getAnnotations(PsiFile file)
Returns annotations which should be copied from a source to an implementation (by default, no annotations are copied).
|
static void |
repeatAnnotationsFromSource(PsiModifierListOwner source,
PsiElement targetClass,
PsiModifierListOwner target) |
default void |
transferToTarget(java.lang.String annotation,
PsiModifierListOwner source,
PsiModifierListOwner target) |
static final ExtensionPointName<OverrideImplementsAnnotationsHandler> EP_NAME
default java.lang.String[] getAnnotations(PsiFile file)
@Deprecated java.lang.String[] getAnnotations(Project project)
getAnnotations(PsiFile)
@Deprecated default java.lang.String [] annotationsToRemove(Project project, java.lang.String fqName)
getAnnotations(PsiFile)
default void cleanup(PsiModifierListOwner source, PsiElement targetClass, PsiModifierListOwner target)
static void repeatAnnotationsFromSource(PsiModifierListOwner source, PsiElement targetClass, PsiModifierListOwner target)
default void transferToTarget(java.lang.String annotation, PsiModifierListOwner source, PsiModifierListOwner target)