Fix for KT-15027 J2K: Annotations are set on functions, but not on property accessors
#KT-15027 fixed
This commit is contained in:
committed by
Simon Ogorodnik
parent
5071baf970
commit
73ea0e8460
+11
@@ -0,0 +1,11 @@
|
||||
public class WithModifiersOnAccessors {
|
||||
private synchronized void methSync() {}
|
||||
protected strictfp void methStrict() {}
|
||||
|
||||
private int sync = 0;
|
||||
public synchronized int getSync() { return sync; }
|
||||
public synchronized void setSync(int sync) { this.sync = sync; }
|
||||
|
||||
public double strict = 0.0;
|
||||
public strictfp double getStrict() { return strict; }
|
||||
}
|
||||
Reference in New Issue
Block a user