Did I Imagine This Feature

I seem to recall a feature where one could toggle the accessibility of a method/field from public to private to protected to package.

Was I imagining this?

If not what is it called and how is it accessed?

Thank you,

Donald

8 comments
Comment actions Permalink

My Modifier Modifier Plugin does this with altshiftP. It also has keys
for final, synchronized, and so on.

Donald McLean wrote:

I seem to recall a feature where one could toggle the accessibility of a method/field from public to private to protected to package.

Was I imagining this?

If not what is it called and how is it accessed?

Thank you,

Donald

0
Comment actions Permalink

Hi Keith,

Could you extends that plug-in to set the options as strict as possible?
Thanks in advance.

Tom

0
Comment actions Permalink

Could you extends that plug-in to set the options as strict as possible?


Sorry, forgot 'please'.

Tom

0
Comment actions Permalink

What do you mean by strict?

Tom wrote:

Hi Keith,

Could you extends that plug-in to set the options as strict as possible?
Thanks in advance.

Tom

0
Comment actions Permalink

IIRC there's a quickfix for an offline inspection "access can be weaker" that does just that ? Not sure though, don't have access to IDEA here

0
Comment actions Permalink

What do you mean by strict?


As final as possible and as hidden as possible.

0
Comment actions Permalink

I think that feature is outside the scope of the plugin. The plugin is
simple editor shortcuts to toggle modifiers, not to do any refactorings
or analysis of your code.

Tom wrote:
>> What do you mean by strict?


As final as possible and as hidden as possible.

0

Please sign in to leave a comment.