src/share/classes/javax/lang/model/type/TypeVariable.java

changeset 2200
7c89d200781b
parent 972
694ff82ca68e
child 2525
2eb010b6cb22
     1.1 --- a/src/share/classes/javax/lang/model/type/TypeVariable.java	Tue Nov 19 23:35:43 2013 +0000
     1.2 +++ b/src/share/classes/javax/lang/model/type/TypeVariable.java	Wed Nov 20 13:44:39 2013 +0100
     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, 2013, 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 @@ -62,10 +62,9 @@
    1.11       * <p> If this type variable was declared with no explicit
    1.12       * upper bounds, the result is {@code java.lang.Object}.
    1.13       * If it was declared with multiple upper bounds,
    1.14 -     * the result is an intersection type (modeled as a
    1.15 -     * {@link DeclaredType}).
    1.16 -     * Individual bounds can be found by examining the result's
    1.17 -     * {@linkplain Types#directSupertypes(TypeMirror) supertypes}.
    1.18 +     * the result is an {@linkplain IntersectionType intersection type};
    1.19 +     * individual bounds can be found by examining the result's
    1.20 +     * {@linkplain IntersectionType#getBounds() bounds}.
    1.21       *
    1.22       * @return the upper bound of this type variable
    1.23       */

mercurial