I have long java class and method names
LONGGGGGGGGGGGGGGGClass.longggggggggggggggggggggggggMethod();
I want to alias it to g.m();
g.m();
You can use inheritance or encapsulation to wrap the original class.
class g extends LONGCLASS { void a() { super.loooonnng(); } }
or
class g { private LONGCLASS lc; void a() { lc.loooonnng(); } }