method return type in not used: fix for literal expressions(IDEA-184798)

This commit is contained in:
Anna.Kozlova
2018-01-11 13:34:40 +01:00
parent d2f7a6b367
commit 5f3f0f81a5
4 changed files with 28 additions and 2 deletions
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,9 @@
class Test {
static String foo() {
return "";
}
{
Test.class.getMethod("foo");
}
}