src/share/classes/javax/lang/model/element/package-info.java

changeset 778
23fc45d3a572
parent 554
9d9f26857129
child 1484
7612fe48be90
     1.1 --- a/src/share/classes/javax/lang/model/element/package-info.java	Wed Dec 08 13:42:57 2010 -0800
     1.2 +++ b/src/share/classes/javax/lang/model/element/package-info.java	Wed Dec 08 21:21:42 2010 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -66,12 +66,14 @@
    1.11   * <p>During annotation processing, operating on incomplete or
    1.12   * erroneous programs is necessary; however, there are fewer
    1.13   * guarantees about the nature of the resulting model.  If the source
    1.14 - * code is not syntactically well-formed, a model may or may not be
    1.15 - * provided as a quality of implementation issue.  If a program is
    1.16 - * syntactically valid but erroneous in some other fashion, the
    1.17 - * returned model must have no less information than if all the method
    1.18 - * bodies in the program were replaced by {@code "throw new
    1.19 - * RuntimeException();"}.  If a program refers to a missing type XYZ,
    1.20 + * code is not syntactically well-formed or has some other
    1.21 + * irrecoverable error that could not be removed by the generation of
    1.22 + * new types, a model may or may not be provided as a quality of
    1.23 + * implementation issue.
    1.24 + * If a program is syntactically valid but erroneous in some other
    1.25 + * fashion, any returned model must have no less information than if
    1.26 + * all the method bodies in the program were replaced by {@code "throw
    1.27 + * new RuntimeException();"}.  If a program refers to a missing type XYZ,
    1.28   * the returned model must contain no less information than if the
    1.29   * declaration of type XYZ were assumed to be {@code "class XYZ {}"},
    1.30   * {@code "interface XYZ {}"}, {@code "enum XYZ {}"}, or {@code

mercurial