mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
java: add fix to expand 'var' type when type annotation is used (IDEA-248364)
GitOrigin-RevId: 826f1e07587dc4d85214f5d0cafd5776d3448a95
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0ef97dc482
commit
8fc89fc6f5
+10
@@ -0,0 +1,10 @@
|
||||
// "Replace 'var' with explicit type" "true"
|
||||
import java.lang.annotation.*;
|
||||
class Main {
|
||||
{
|
||||
@Anno String b = "hello";
|
||||
}
|
||||
}
|
||||
|
||||
@Target(ElementType.TYPE_USE)
|
||||
@interface Anno {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Replace 'var' with explicit type" "true"
|
||||
import java.lang.annotation.*;
|
||||
class Main {
|
||||
{
|
||||
@An<caret>no var b = "hello";
|
||||
}
|
||||
}
|
||||
|
||||
@Target(ElementType.TYPE_USE)
|
||||
@interface Anno {}
|
||||
Reference in New Issue
Block a user