Visibility can be private: do not perform too expensive search
Also, additional test for usage via accessor was added So #KT-18617 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Add 'private' modifier" "false"
|
||||
// ACTION: Convert to secondary constructor
|
||||
// ACTION: Create test
|
||||
// ACTION: Move to class body
|
||||
|
||||
class My(val <caret>parameter: Int) {
|
||||
val other = parameter
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class User {
|
||||
public static int foo(My my) {
|
||||
return my.getParameter();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user