Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/BooleanInferenceFromIfCondition.java
2013-09-20 12:11:57 +04:00

13 lines
283 B
Java

public class Main {
public <T> T getAttribute() {return null;}
public <T> T getAttribute(T def) {return null;}
{
if (getAttribute()) {}
while (getAttribute()) {}
do {} while (getAttribute());
for(int i = 0; getAttribute(); i++);
}
}