Consider the following:
interface AA {}
interface BB<T> {}
interface CC<T extends AA> {}
interface DD<T extends AA & BB> {}
new AA() {
{
new BB() {}
}
public void whatever() {
new BB() {}
new CC() {
{
new DD() {}
}
}
}
}
Anonymous inner types nested within the object initializers of anonymous inner types. Generics probably don't matter.
Consider the following:
Anonymous inner types nested within the object initializers of anonymous inner types. Generics probably don't matter.