< prev index next >

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

Print this page

        

*** 68,77 **** --- 68,79 ---- 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; public final Name yield; // field and method names public final Name _name; public final Name addSuppressed;
*** 81,90 **** --- 83,93 ---- public final Name clone; public final Name close; public final Name deserializeLambda; public final Name desiredAssertionStatus; public final Name equals; + public final Name oldEquals; public final Name error; public final Name finalize; public final Name forRemoval; public final Name getClass; public final Name hasNext;
*** 98,107 **** --- 101,112 ---- 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_Class; public final Name java_lang_Cloneable;
*** 139,148 **** --- 144,154 ---- 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;
*** 153,162 **** --- 159,169 ---- public final Name StackMap; public final Name StackMapTable; public final Name Synthetic; public final Name Value; public final Name Varargs; + public final Name PermittedSubtypes; // members of java.lang.annotation.ElementType public final Name ANNOTATION_TYPE; public final Name CONSTRUCTOR; public final Name FIELD;
*** 189,198 **** --- 196,218 ---- // string concat public final Name makeConcat; public final Name makeConcatWithConstants; + // record related + // members of java.lang.invoke.ObjectMethodBuilders + public final Name bootstrap; + + public final Name record; + public final Name where; + public final Name non; + public final Name ofLazyProjection; + + // sealed types + public final Name permits; + public final Name sealed; + public final Name.Table table; public Names(Context context) { Options options = Options.instance(context); table = createTable(options);
*** 218,227 **** --- 238,249 ---- to = fromString("to"); transitive = fromString("transitive"); uses = fromString("uses"); open = fromString("open"); with = fromString("with"); + get = fromString("get"); + set = fromString("set"); yield = fromString("yield"); // field and method names _name = fromString("name"); addSuppressed = fromString("addSuppressed");
*** 231,240 **** --- 253,263 ---- clone = fromString("clone"); close = fromString("close"); deserializeLambda = fromString("$deserializeLambda$"); desiredAssertionStatus = fromString("desiredAssertionStatus"); equals = fromString("equals"); + oldEquals = fromString("oldEquals"); error = fromString("<error>"); finalize = fromString("finalize"); forRemoval = fromString("forRemoval"); getClass = fromString("getClass"); hasNext = fromString("hasNext");
*** 248,257 **** --- 271,282 ---- 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_Class = fromString("java.lang.Class");
*** 290,299 **** --- 315,325 ---- 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");
*** 304,313 **** --- 330,340 ---- StackMap = fromString("StackMap"); StackMapTable = fromString("StackMapTable"); Synthetic = fromString("Synthetic"); Value = fromString("Value"); Varargs = fromString("Varargs"); + PermittedSubtypes = fromString("PermittedSubtypes"); // members of java.lang.annotation.ElementType ANNOTATION_TYPE = fromString("ANNOTATION_TYPE"); CONSTRUCTOR = fromString("CONSTRUCTOR"); FIELD = fromString("FIELD");
*** 338,347 **** --- 365,384 ---- altMetafactory = fromString("altMetafactory"); // string concat makeConcat = fromString("makeConcat"); makeConcatWithConstants = fromString("makeConcatWithConstants"); + + bootstrap = fromString("bootstrap"); + record = fromString("record"); + where = fromString("where"); + non = fromString("non"); + ofLazyProjection = fromString("ofLazyProjection"); + + // sealed types + permits = fromString("permits"); + sealed = fromString("sealed"); } protected Name.Table createTable(Options options) { boolean useUnsharedTable = options.isSet("useUnsharedTable"); if (useUnsharedTable)
< prev index next >