mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[java-highlighting] Provide quick-fix for the "Package annotations should be in file package-info.java" error
IDEA-216254 GitOrigin-RevId: 9d8c4074babff861b5702caa09dd320de5d63d72
This commit is contained in:
committed by
intellij-monorepo-bot
parent
71ed47f845
commit
7bf9474dac
@@ -0,0 +1,10 @@
|
||||
// "Remove" "true-preview"
|
||||
package com.example;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PACKAGE)
|
||||
@interface Anno {
|
||||
int value();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// "Remove" "true-preview"
|
||||
@Anno(value=42)<caret>
|
||||
package com.example;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PACKAGE)
|
||||
@interface Anno {
|
||||
int value();
|
||||
}
|
||||
Reference in New Issue
Block a user