[jvm-lang] java: port _Create getter/setter from usage_ actions

- extract PropertyRenderer for reusing;
- make them work with type parameter guesser.
This commit is contained in:
Daniil Ovchinnikov
2018-02-13 01:14:19 +03:00
parent 6ca0d49785
commit 544ee7980f
12 changed files with 242 additions and 100 deletions

View File

@@ -1,12 +1,11 @@
// "Create Getter" "true"
public class Test {
Integer field;
public foo() {
getField();
}
public Integer getField() {
public Object getField() {
return field;
}
}