@Nullable/@NotNull integration

Playing with those annotations, it seems it's not really finished.
I have
---
public class Test
{
@NotNull private Object contained;

}
---
Now I press Alt-Insert and choose "Constructor". Also selecting the
contained field. IDEA then generates:
---
public Test(Object contained)
{
this.contained=contained;
}
---
Shouldn't the parameter also be annotated as @NotNull?
Same for getter/setter/...

2 comments
Comment actions Permalink

Please file a feature request to JIRA.
-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Done. http://www.jetbrains.net/jira/browse/IDEA-4177

Maxim Shafirov (JetBrains) schrieb:

Please file a feature request to JIRA.
-------------------
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.