< prev index next >

src/jdk.rmic/share/classes/sun/tools/java/Identifier.java

Print this page

        

*** 198,208 **** } /** A space character, which precedes the first inner class * name in a qualified name, and thus marks the qualification * as involving inner classes, instead of merely packages.<p> ! * Ex: <tt>java.util.Vector. Enumerator</tt>. */ public static final char INNERCLASS_PREFIX = ' '; /* Explanation: * Since much of the compiler's low-level name resolution code --- 198,208 ---- } /** A space character, which precedes the first inner class * name in a qualified name, and thus marks the qualification * as involving inner classes, instead of merely packages.<p> ! * Ex: {@code java.util.Vector. Enumerator}. */ public static final char INNERCLASS_PREFIX = ' '; /* Explanation: * Since much of the compiler's low-level name resolution code
*** 227,237 **** /** * Return the class name, without its qualifier, * and with any nesting flattened into a new qualfication structure. * If the original identifier is inner, * the result will be qualified, and can be further ! * decomposed by means of <tt>getQualifier</tt> and <tt>getName</tt>. * <p> * For example: * <pre> * Identifier id = Identifier.lookup("pkg.Foo. Bar"); * id.getName().name => "Foo. Bar" --- 227,237 ---- /** * Return the class name, without its qualifier, * and with any nesting flattened into a new qualfication structure. * If the original identifier is inner, * the result will be qualified, and can be further ! * decomposed by means of {@code getQualifier} and {@code getName}. * <p> * For example: * <pre> * Identifier id = Identifier.lookup("pkg.Foo. Bar"); * id.getName().name => "Foo. Bar"
< prev index next >