Abbreviated type names in java
Is there a way to shorten type names in java. Something similar to typedef in C ++ or similar to using namespaces?
For example, if I have a type "org.w3c.dom.Node" and I don’t want to write
this full name every time, but I also don’t want to import the whole file,
but only locally define the type "Node" as "org.w3c .dom.Node "by one method?
source to share