This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183240 - [69cat] [PHP]Show warning if all methods are not implemented
Summary: [69cat] [PHP]Show warning if all methods are not implemented
Status: VERIFIED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal with 2 votes (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 08:30 UTC by schkovich
Modified: 2012-02-15 01:02 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot of exaple (17.42 KB, image/png)
2010-03-31 08:32 UTC, schkovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schkovich 2010-03-31 08:30:34 UTC
[ BUILD # : 201003290201 ]
[ JDK VERSION : 1.6.* ]

In case that class is implementing interface or extending abstract class if all
methods defined in interface or abstract method defined in parent class are not
defined there should be warning: Implement remaining methods or declare class
abstract.

Failing to implement all methods defined in interface or all abstract methods
will raise fatal error. Therefore I find that is very important to add warning
badge and show hint in those cases.

Fatal error: Class FooMo contains 1 abstract method and must therefore be
declared abstract or implement the remaining methods (Foo::test)
Comment 1 schkovich 2010-03-31 08:32:06 UTC
Created attachment 96399 [details]
screenshot of exaple

Screenshot of example showing the problem
Comment 2 Filip Zamboj 2010-09-15 12:31:12 UTC
batch reassigning
Comment 3 schkovich 2011-02-28 08:23:35 UTC
Product Version: NetBeans IDE Dev (Build 201102280001)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.35-25-generic running on amd64; UTF-8; en_US (nb)

Status quo. Still present. Should version be changed accordingly to 7.0?

Any chance that this issue will be resolved in NB7?
Comment 4 Ondrej Brejla 2012-02-14 12:29:32 UTC
Should work properly in 7.2 dev.
Comment 5 schkovich 2012-02-15 01:02:52 UTC
Works for me as well.

Product Version: NetBeans IDE Dev (Build 201202140400)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Linux version 3.0.0-16-generic running on amd64; UTF-8; en_US (nb)