ceylon/ceylon-compiler — Issue #362: optimisation: why do we create two objects for local getter/setters?
Author: FroMage
Created: 2012-02-03 13:00:44+00:00
State: open
Labels: optimisation

Why not just one with a get/set method?

```java
final class getter$getter {

long getGetter() {
return 1L;
}

private getter$getter() {
}
}
final getter$getter getter$getter = new getter$getter();

final class getter$setter {
private long value;

void setGetter(long getter) {
}

private getter$setter() {
}
}
final getter$setter getter$setter = new getter$setter();
```