Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Structurally Replace with Static Import

$
0
0

Hello All,

 

I'd like to perform a batch refactoring that inserted a static import.  As far as I can tell the closest you can get is Shorten fully qualified names.  I'm not sure how to encode this request: maybe a replacement @Modifier("static") ?


$field$ = ($T$)@Modifier("static")com.google.common.base.Preconditions.checkNotNull($arg$);

 

Or maybe there's an easier way to achieve this already?

 

Please advise,

- Luke


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>