equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2011, 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 |
95 * with no default value. |
95 * with no default value. |
96 * |
96 * |
97 * @return the default value, or {@code null} if none |
97 * @return the default value, or {@code null} if none |
98 */ |
98 */ |
99 AnnotationValue getDefaultValue(); |
99 AnnotationValue getDefaultValue(); |
|
100 |
|
101 /** |
|
102 * Returns the simple name of a constructor, method, or |
|
103 * initializer. For a constructor, the name {@code "<init>"} is |
|
104 * returned, for a static initializer, the name {@code "<clinit>"} |
|
105 * is returned, and for an anonymous class or instance |
|
106 * initializer, an empty name is returned. |
|
107 * |
|
108 * @return the simple name of a constructor, method, or |
|
109 * initializer |
|
110 */ |
|
111 @Override |
|
112 Name getSimpleName(); |
100 } |
113 } |