java - Is it possible to disable injection of implicit constructor methods/calls? -


the java compiler generates constructors , injects super constructor calls in many circumstances.

for example,

class foo {     foo() {} } 

becomes

class foo {     foo() {         super();     } } 

i not keen on different circumstances , make code explicit.

how disable java compiler doing if possible?

you cannot disable java compiler making calls super - 1 of core principles how object orientation designed in java.

you might able tell ide display these calls (or not).

however i recommend stick standard - every java developer knows , might bit odd , unfamiliar become reasonable after short time... :)


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -