< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java

Print this page

        

*** 55,64 **** --- 55,65 ---- public final Name one; public final Name slash; // keywords public final Name _class; + public final Name _default; public final Name _super; public final Name _this; public final Name var; public final Name exports; public final Name opens;
*** 87,114 **** --- 88,120 ---- public final Name finalize; public final Name forRemoval; public final Name getClass; public final Name hasNext; public final Name hashCode; + public final Name identityHashCode; public final Name init; public final Name iterator; public final Name length; public final Name next; public final Name ordinal; public final Name provider; public final Name serialVersionUID; public final Name toString; public final Name value; + public final Name inline; public final Name valueOf; public final Name values; // class names public final Name java_io_Serializable; public final Name java_lang_Class; public final Name java_lang_Cloneable; public final Name java_lang_Enum; public final Name java_lang_Object; + public final Name java_lang_System; + public final Name __inline__; + public final Name java_lang___inline__; // names of builtin classes public final Name Array; public final Name Bound; public final Name Method;
*** 189,198 **** --- 195,207 ---- // string concat public final Name makeConcat; public final Name makeConcatWithConstants; + // values + public final Name dollarValue; + public final Name.Table table; public Names(Context context) { Options options = Options.instance(context); table = createTable(options);
*** 205,214 **** --- 214,224 ---- one = fromString("1"); slash = fromString("/"); // keywords _class = fromString("class"); + _default = fromString("default"); _super = fromString("super"); _this = fromString("this"); var = fromString("var"); exports = fromString("exports"); opens = fromString("opens");
*** 237,265 **** --- 247,280 ---- finalize = fromString("finalize"); forRemoval = fromString("forRemoval"); getClass = fromString("getClass"); hasNext = fromString("hasNext"); hashCode = fromString("hashCode"); + identityHashCode = fromString("identityHashCode"); init = fromString("<init>"); iterator = fromString("iterator"); length = fromString("length"); next = fromString("next"); ordinal = fromString("ordinal"); provider = fromString("provider"); serialVersionUID = fromString("serialVersionUID"); toString = fromString("toString"); value = fromString("value"); + inline = fromString("inline"); valueOf = fromString("valueOf"); values = fromString("values"); dollarThis = fromString("$this"); // class names java_io_Serializable = fromString("java.io.Serializable"); java_lang_Class = fromString("java.lang.Class"); java_lang_Cloneable = fromString("java.lang.Cloneable"); java_lang_Enum = fromString("java.lang.Enum"); java_lang_Object = fromString("java.lang.Object"); + java_lang_System = fromString("java.lang.System"); + __inline__ = fromString("__inline__"); + java_lang___inline__ = fromString("java.lang.__inline__"); // names of builtin classes Array = fromString("Array"); Bound = fromString("Bound"); Method = fromString("Method");
*** 338,347 **** --- 353,366 ---- altMetafactory = fromString("altMetafactory"); // string concat makeConcat = fromString("makeConcat"); makeConcatWithConstants = fromString("makeConcatWithConstants"); + + // value types + dollarValue = fromString("$value"); + } protected Name.Table createTable(Options options) { boolean useUnsharedTable = options.isSet("useUnsharedTable"); if (useUnsharedTable)
< prev index next >