equal
deleted
inserted
replaced
294 * modifiers {@code public}, {@code protected} or |
294 * modifiers {@code public}, {@code protected} or |
295 * {@code private}. Only one of these may appear, or none if the |
295 * {@code private}. Only one of these may appear, or none if the |
296 * constructor has default (package) access. |
296 * constructor has default (package) access. |
297 * |
297 * |
298 * @return a string describing this {@code Constructor} |
298 * @return a string describing this {@code Constructor} |
299 * @jls 8.8.3. Constructor Modifiers |
299 * @jls 8.8.3 Constructor Modifiers |
|
300 * @jls 8.9.2 Enum Body Declarations |
300 */ |
301 */ |
301 public String toString() { |
302 public String toString() { |
302 return sharedToString(Modifier.constructorModifiers(), |
303 return sharedToString(Modifier.constructorModifiers(), |
303 false, |
304 false, |
304 parameterTypes, |
305 parameterTypes, |
340 * |
341 * |
341 * @return a string describing this {@code Constructor}, |
342 * @return a string describing this {@code Constructor}, |
342 * include type parameters |
343 * include type parameters |
343 * |
344 * |
344 * @since 1.5 |
345 * @since 1.5 |
345 * @jls 8.8.3. Constructor Modifiers |
346 * @jls 8.8.3 Constructor Modifiers |
|
347 * @jls 8.9.2 Enum Body Declarations |
346 */ |
348 */ |
347 @Override |
349 @Override |
348 public String toGenericString() { |
350 public String toGenericString() { |
349 return sharedToGenericString(Modifier.constructorModifiers(), false); |
351 return sharedToGenericString(Modifier.constructorModifiers(), false); |
350 } |
352 } |