We use a reflection based persistence mechanism that uses the default 
constructor [via newInstance] to create objects. Thus the idea says the 
constructor is never invoked; which as far as idea is concerned is 
correct. But it makes the inspection for unused code a bit less useful.

It would be nice to "mark" the method somehow to tell idea to ignore the 
constructor in its inspection. Currently I use a UML stereo type as a 
visual indicator, eg:

   ...
   public Account() {} //<<tornado>>
   ...

Maybe idea can define some expression that it uses to exclude methods 
(or other parts of code) from the inspection.

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to