static methods are not parsed correctly

Bug #210262 reported by Pascal de Vink
2
Affects Status Importance Assigned to Milestone
NetBeans Metrics
Confirmed
Medium
Pascal de Vink

Bug Description

The parser doesn't support static methods (or final and it's the same for classes). It now automatically picks the third word from a method opening, ie
public void setName

this works with default methods, but with statics or even more complex ones like static finals, ie
public static void setName

this doesn't work anymore, as the methodname becomes void.

Changed in netbeansmetrics:
assignee: nobody → pascal-de-vink
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.