Java editor doesn't warn about in-statements java annotations
If I write this in the editor, I don't get a warning while I'm coding... but trying to compile with the standard jdk prompts errors.
@Test
public void someMethod() throws Exception {
//TODO auto-generated
@Autowired // editor doesn't warn about anything
Assert.fail("Not yet implemented");
}
Is this a bug or the desired behaviour? Is it related to support this JSR? http://code.google.com/p/jsr308-langtools/wiki/AnnotationsOnStatements
Please sign in to leave a comment.