Added alias parsing for Java.