Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/BooleanInferenceFromIfCondition.java
2013-02-15 16:28:14 +01: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++);
}
}