< prev index next >

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

Print this page

        

@@ -68,10 +68,12 @@
     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,10 +83,11 @@
     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,10 +101,12 @@
     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,10 +144,11 @@
     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,10 +159,11 @@
     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,10 +196,23 @@
 
     // 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,10 +238,12 @@
         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,10 +253,11 @@
         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,10 +271,12 @@
         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,10 +315,11 @@
         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,10 +330,11 @@
         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,10 +365,20 @@
         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 >