create constructor parameter should consider context (e.g.: type parameter name == some class name from java.lang)

This commit is contained in:
Dmitry Batkovich
2016-12-07 18:23:14 +03:00
parent 8cab448be9
commit 4ac9d4360e
3 changed files with 14 additions and 2 deletions
@@ -0,0 +1,8 @@
// "Add constructor parameter" "true"
class Test<Math> {
final Math math;
Test(Math math) {
this.math = math;
}
}
@@ -0,0 +1,4 @@
// "Add constructor parameter" "true"
class Test<Math> {
final Math ma<caret>th;
}