blob: 05544bd4858cd891f9d8fe8bf342e788a9a607b3 [file] [log] [blame]
class AnonymousTest {
interface Thing {
boolean thing();
}
void dupeHolder() {
Thing thing = new Thing() {
public boolean thing() {
return false;
}
};
}
Thing <caret>duplicator(final boolean thingReturn) {
return new Thing() {
public boolean thing() {
return thingReturn;
}
};
}
}