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 |
71 |
71 |
72 /** The kind of methods. |
72 /** The kind of methods. |
73 */ |
73 */ |
74 public final static int MTH = 1 << 4; |
74 public final static int MTH = 1 << 4; |
75 |
75 |
|
76 /** Poly kind, for deferred types. |
|
77 */ |
|
78 public final static int POLY = 1 << 5; |
|
79 |
76 /** The error kind, which includes all other kinds. |
80 /** The error kind, which includes all other kinds. |
77 */ |
81 */ |
78 public final static int ERR = (1 << 5) - 1; |
82 public final static int ERR = (1 << 6) - 1; |
79 |
83 |
80 /** The set of all kinds. |
84 /** The set of all kinds. |
81 */ |
85 */ |
82 public final static int AllKinds = ERR; |
86 public final static int AllKinds = ERR; |
83 |
87 |
84 /** Kinds for erroneous symbols that complement the above |
88 /** Kinds for erroneous symbols that complement the above |
85 */ |
89 */ |
86 public static final int ERRONEOUS = 1 << 6; |
90 public static final int ERRONEOUS = 1 << 7; |
87 public static final int AMBIGUOUS = ERRONEOUS+1; // ambiguous reference |
91 public static final int AMBIGUOUS = ERRONEOUS+1; // ambiguous reference |
88 public static final int HIDDEN = ERRONEOUS+2; // hidden method or field |
92 public static final int HIDDEN = ERRONEOUS+2; // hidden method or field |
89 public static final int STATICERR = ERRONEOUS+3; // nonstatic member from static context |
93 public static final int STATICERR = ERRONEOUS+3; // nonstatic member from static context |
90 public static final int MISSING_ENCL = ERRONEOUS+4; // missing enclosing class |
94 public static final int MISSING_ENCL = ERRONEOUS+4; // missing enclosing class |
91 public static final int ABSENT_VAR = ERRONEOUS+5; // missing variable |
95 public static final int ABSENT_VAR = ERRONEOUS+5; // missing variable |