Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Eclipse ADT quick fix redefines CONSTRUCTOR

matt
Active Contributor
0 Likes
2,265

I've got a class that's in a subclass of a subclass. The constructor the upper most super class has no parameters, but can raise an exception.

In the implementation section of my class, I type.

METHOD constructor.
ENDMETHOD.

I then put the cursor on the word constructor, press ctrl-1, and choose create definition of constructor.

In the public section of the class I get:

METHODS constructor REDEFINITION.

Backend: 750/0013, Eclipse: Version: 2020-03 (4.15.0), ADT Core Development Tools 3.8.5

Can anyone replicate this? Paging: armin.beil.2

1 ACCEPTED SOLUTION
Read only

1,780

And correct would be

METHODS constructor.

as constructors cannot be redefined , right?

It looks like this has already been fixed in higher releases. I will double check with a colleague an tell you the fix release.

Regards,
Michael

4 REPLIES 4
Read only

BiberM
Contributor
1,780

I can confirm this behavior having exactly the same configuration.

Read only

Armin_Beil
Product and Topic Expert
Product and Topic Expert
1,780

I have no expertise regarding quick assists and I cannot help here, but the relevant colleagues are aware of this thread.

Read only

1,781

And correct would be

METHODS constructor.

as constructors cannot be redefined , right?

It looks like this has already been fixed in higher releases. I will double check with a colleague an tell you the fix release.

Regards,
Michael

Read only

0 Likes
1,780

I guess this part of the backend then? Will a note for lower releases be issued? Although it really is very minor!