< prev index next >

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

Print this page

        

*** 51,61 **** --- 51,64 ---- public final Name asterisk; public final Name comma; public final Name empty; public final Name hyphen; public final Name one; + public final Name period; + public final Name semicolon; public final Name slash; + public final Name slashequals; // keywords public final Name _class; public final Name _super; public final Name _this;
*** 68,113 **** --- 71,131 ---- public final Name to; public final Name transitive; public final Name uses; public final Name open; public final Name with; + public final Name get; + public final Name set; // field and method names public final Name _name; public final Name addSuppressed; public final Name any; public final Name append; public final Name clinit; public final Name clone; public final Name close; + public final Name compareTo; public final Name deserializeLambda; public final Name desiredAssertionStatus; public final Name equals; + public final Name oldEquals; public final Name error; + public final Name family; public final Name finalize; + public final Name forName; public final Name forRemoval; public final Name getClass; + public final Name getClassLoader; + public final Name getComponentType; + public final Name getDeclaringClass; + public final Name getMessage; public final Name hasNext; public final Name hashCode; public final Name init; + public final Name initCause; 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 valueOf; public final Name values; + public final Name readResolve; + public final Name readObject; // class names public final Name java_io_Serializable; + public final Name java_lang_AutoCloseable; 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_invoke_MethodHandle; // names of builtin classes public final Name Array; public final Name Bound; public final Name Method;
*** 138,147 **** --- 156,166 ---- public final Name MethodParameters; public final Name Module; public final Name ModuleResolution; public final Name NestHost; public final Name NestMembers; + public final Name Record; public final Name RuntimeInvisibleAnnotations; public final Name RuntimeInvisibleParameterAnnotations; public final Name RuntimeInvisibleTypeAnnotations; public final Name RuntimeVisibleAnnotations; public final Name RuntimeVisibleParameterAnnotations;
*** 173,182 **** --- 192,202 ---- public final Name RUNTIME; public final Name SOURCE; // other identifiers public final Name T; + public final Name deprecated; public final Name ex; public final Name module_info; public final Name package_info; public final Name requireNonNull;
*** 188,197 **** --- 208,228 ---- // string concat public final Name makeConcat; public final Name makeConcatWithConstants; + // members of java.lang.invoke.ObjectMethodBuilders + public final Name makeEquals; + public final Name makeHashCode; + public final Name makeToString; + + // record related + public final Name record; + public final Name where; + public final Name non; + public final Name makeLazyExtractor; + public final Name.Table table; public Names(Context context) { Options options = Options.instance(context); table = createTable(options);
*** 200,210 **** --- 231,244 ---- asterisk = fromString("*"); comma = fromString(","); empty = fromString(""); hyphen = fromString("-"); one = fromString("1"); + period = fromString("."); + semicolon = fromString(";"); slash = fromString("/"); + slashequals = fromString("/="); // keywords _class = fromString("class"); _super = fromString("super"); _this = fromString("this");
*** 217,263 **** --- 251,312 ---- to = fromString("to"); transitive = fromString("transitive"); uses = fromString("uses"); open = fromString("open"); with = fromString("with"); + get = fromString("get"); + set = fromString("set"); // field and method names _name = fromString("name"); addSuppressed = fromString("addSuppressed"); any = fromString("<any>"); append = fromString("append"); clinit = fromString("<clinit>"); clone = fromString("clone"); close = fromString("close"); + compareTo = fromString("compareTo"); deserializeLambda = fromString("$deserializeLambda$"); desiredAssertionStatus = fromString("desiredAssertionStatus"); equals = fromString("equals"); + oldEquals = fromString("oldEquals"); error = fromString("<error>"); + family = fromString("family"); finalize = fromString("finalize"); + forName = fromString("forName"); forRemoval = fromString("forRemoval"); getClass = fromString("getClass"); + getClassLoader = fromString("getClassLoader"); + getComponentType = fromString("getComponentType"); + getDeclaringClass = fromString("getDeclaringClass"); + getMessage = fromString("getMessage"); hasNext = fromString("hasNext"); hashCode = fromString("hashCode"); init = fromString("<init>"); + initCause = fromString("initCause"); iterator = fromString("iterator"); length = fromString("length"); next = fromString("next"); ordinal = fromString("ordinal"); provider = fromString("provider"); serialVersionUID = fromString("serialVersionUID"); toString = fromString("toString"); value = fromString("value"); valueOf = fromString("valueOf"); values = fromString("values"); + readResolve = fromString("readResolve"); + readObject = fromString("readObject"); dollarThis = fromString("$this"); // class names java_io_Serializable = fromString("java.io.Serializable"); + java_lang_AutoCloseable = fromString("java.lang.AutoCloseable"); 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_invoke_MethodHandle = fromString("java.lang.invoke.MethodHandle"); // names of builtin classes Array = fromString("Array"); Bound = fromString("Bound"); Method = fromString("Method");
*** 288,297 **** --- 337,347 ---- MethodParameters = fromString("MethodParameters"); Module = fromString("Module"); ModuleResolution = fromString("ModuleResolution"); NestHost = fromString("NestHost"); NestMembers = fromString("NestMembers"); + Record = fromString("Record"); RuntimeInvisibleAnnotations = fromString("RuntimeInvisibleAnnotations"); RuntimeInvisibleParameterAnnotations = fromString("RuntimeInvisibleParameterAnnotations"); RuntimeInvisibleTypeAnnotations = fromString("RuntimeInvisibleTypeAnnotations"); RuntimeVisibleAnnotations = fromString("RuntimeVisibleAnnotations"); RuntimeVisibleParameterAnnotations = fromString("RuntimeVisibleParameterAnnotations");
*** 323,332 **** --- 373,383 ---- RUNTIME = fromString("RUNTIME"); SOURCE = fromString("SOURCE"); // other identifiers T = fromString("T"); + deprecated = fromString("deprecated"); ex = fromString("ex"); module_info = fromString("module-info"); package_info = fromString("package-info"); requireNonNull = fromString("requireNonNull");
*** 336,345 **** --- 387,404 ---- altMetafactory = fromString("altMetafactory"); // string concat makeConcat = fromString("makeConcat"); makeConcatWithConstants = fromString("makeConcatWithConstants"); + + makeEquals = fromString("makeEquals"); + makeHashCode = fromString("makeHashCode"); + makeToString = fromString("makeToString"); + record = fromString("record"); + where = fromString("where"); + non = fromString("non"); + makeLazyExtractor = fromString("makeLazyExtractor"); } protected Name.Table createTable(Options options) { boolean useUnsharedTable = options.isSet("useUnsharedTable"); if (useUnsharedTable)
< prev index next >