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