langtools/src/share/classes/com/sun/tools/javac/code/Symtab.java
changeset 15356 cf312dc54c60
parent 14539 507556c4e622
child 15361 01f1828683e6
equal deleted inserted replaced
15355:a4757c33cae9 15356:cf312dc54c60
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   159     public final Type proprietaryType;
   159     public final Type proprietaryType;
   160     public final Type systemType;
   160     public final Type systemType;
   161     public final Type autoCloseableType;
   161     public final Type autoCloseableType;
   162     public final Type trustMeType;
   162     public final Type trustMeType;
   163     public final Type lambdaMetafactory;
   163     public final Type lambdaMetafactory;
   164     public final Type containedByType;
   164     public final Type repeatableType;
   165     public final Type containerForType;
       
   166     public final Type documentedType;
   165     public final Type documentedType;
   167     public final Type elementTypeType;
   166     public final Type elementTypeType;
   168 
   167 
   169     /** The symbol representing the length field of an array.
   168     /** The symbol representing the length field of an array.
   170      */
   169      */
   492         overrideType = enterClass("java.lang.Override");
   491         overrideType = enterClass("java.lang.Override");
   493         retentionType = enterClass("java.lang.annotation.Retention");
   492         retentionType = enterClass("java.lang.annotation.Retention");
   494         deprecatedType = enterClass("java.lang.Deprecated");
   493         deprecatedType = enterClass("java.lang.Deprecated");
   495         suppressWarningsType = enterClass("java.lang.SuppressWarnings");
   494         suppressWarningsType = enterClass("java.lang.SuppressWarnings");
   496         inheritedType = enterClass("java.lang.annotation.Inherited");
   495         inheritedType = enterClass("java.lang.annotation.Inherited");
   497         containedByType = enterClass("java.lang.annotation.ContainedBy");
   496         repeatableType = enterClass("java.lang.annotation.Repeatable");
   498         containerForType = enterClass("java.lang.annotation.ContainerFor");
       
   499         documentedType = enterClass("java.lang.annotation.Documented");
   497         documentedType = enterClass("java.lang.annotation.Documented");
   500         elementTypeType = enterClass("java.lang.annotation.ElementType");
   498         elementTypeType = enterClass("java.lang.annotation.ElementType");
   501         systemType = enterClass("java.lang.System");
   499         systemType = enterClass("java.lang.System");
   502         autoCloseableType = enterClass("java.lang.AutoCloseable");
   500         autoCloseableType = enterClass("java.lang.AutoCloseable");
   503         autoCloseableClose = new MethodSymbol(PUBLIC,
   501         autoCloseableClose = new MethodSymbol(PUBLIC,