This ticket uses and tests the "Use static inner class" cleanup feature:
- It reviews the feature
- It reduces the memory consumption as it avoids the pointer to the
outer class
Example:
Before:
public class Outer {
public class InnerClass {
int i;
public boolean anotherMethod() {
return true;
}
}
}
After:
public class Outer {
public static class InnerClass {
int i;
public boolean anotherMethod() {
return true;
}
}
}
Change-Id: I57d732927398b006e90012501ec4ed714003fe11
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Change-Id: I57d732927398b006e90012501ec4ed714003fe11
Reviewed-on: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/180216
Tested-by: PDE Bot <pde-bot@eclipse.org>
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>