mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] More tests for preview; minor fixes
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7a1f179f41
commit
9c6aeba5b4
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private final String myP;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private int myP1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
class BindField {
|
||||
private final String myAgent;
|
||||
private final Integer myInstrumentAgent;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private final String myManager;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private final String myOldClass;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
class Bar {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private Object myP1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private String myP1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
private final String myP;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
void <caret>method(int p1, int p2){
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
class BindField {
|
||||
private final String myAgent;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
public A(String old<caret>Manager, Integer newManager) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
public A(String old<caret>Class, String newClass) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
// "Bind constructor parameters to fields" "true-preview"
|
||||
|
||||
class Bar {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
<T> void f(T p<caret>1, T p2){
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Bind method parameters to fields" "true"
|
||||
// "Bind method parameters to fields" "true-preview"
|
||||
|
||||
class A{
|
||||
<T extends String> void f(T p<caret>1, T p2){
|
||||
|
||||
Reference in New Issue
Block a user