mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
16 lines
289 B
Java
16 lines
289 B
Java
class ConvertAnonymousToInner {
|
|
|
|
boolean myFast = true;
|
|
|
|
void convert(boolean fast) {
|
|
new Object() {<caret>
|
|
public String toString() {
|
|
if (myFast != fast) {
|
|
myFast = fast;
|
|
System.out.println(fast);
|
|
}
|
|
return "";
|
|
}
|
|
};
|
|
}
|
|
} |