IDEA-145958 Suggest chained calls of expected type in basic & autopopup completion

GitOrigin-RevId: b2d1ed10839ffac236b724c224f856e6bb99cb14
This commit is contained in:
Peter Gromov
2020-06-15 15:02:03 +03:00
committed by intellij-monorepo-bot
parent 60db1bd88c
commit 3aea481c1f
12 changed files with 203 additions and 137 deletions
@@ -2,7 +2,7 @@ import foo.bar.*;
import foo.baz.Baz;
class Main {
void foo() throws ReflectiveOperationException {
Class<Annotation> aType = Baz.class;
Class<Baz> aType = Baz.class;
Test.class.getAnnotation(aType);
}
}