Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2472

Add indicator to class constant / properties that have been overwritten in a child class like with overwritten class methods

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Class properties and constants that have been overwritten in a child class should get an indicator that the variable has been overridden. This feature exists for class methods already. 

      Like with overwritten class methods, the indicator should give option to see all child classes that have overwritten the variable and jump to the overriding definition in the selected child class; in the child class there should be an option to jump to parent class and see default value/definition.

       

      Ex)

      class a {

          const apple = 1;

      }

       

      class b extends a{

          const apple =  3;

      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            junichi11 Junichi Yamamoto
            notnow387 Drew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m

                Slack

                  Issue deployment