Files
Victoria.Petrakovich c086c60c1e K2 IDE: port UsePropertyAccessSyntaxIntention – turn it to the inspection
KTIJ-28409 K2 IDE: port UsePropertyAccessSyntaxIntention

Merge-request: IJ-MR-125578
Merged-by: Victoria Petrakovich <Victoria.Petrakovich@jetbrains.com>

GitOrigin-RevId: bca92cabd37d3d9f926cef4afba58962f586a89e
2024-03-19 17:04:03 +00:00

17 lines
385 B
Java

public class TestClass {
// notice these properties are public
public int value;
public boolean isSetValue;
private int myVal;
public void setValue(int value) {
this.value = value;
this.isSetValue = true;
}
public int getValue() {
return this.value;
}
public boolean getIsSetValue() {
return this.isSetValue;
}
}