src/share/classes/com/sun/tools/javadoc/PrimitiveType.java

changeset 1521
71f35e4b93a5
parent 1359
25e14ad23cef
child 1691
f10cffab99b4
     1.1 --- a/src/share/classes/com/sun/tools/javadoc/PrimitiveType.java	Wed Jan 23 20:57:40 2013 +0000
     1.2 +++ b/src/share/classes/com/sun/tools/javadoc/PrimitiveType.java	Wed Jan 23 13:27:24 2013 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2001, 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 @@ -121,13 +121,20 @@
    1.11      }
    1.12  
    1.13      /**
    1.14 -     * Return null, as this is not a wildcard type;
    1.15 +     * Return null, as this is not a wildcard type.
    1.16       */
    1.17      public WildcardType asWildcardType() {
    1.18          return null;
    1.19      }
    1.20  
    1.21      /**
    1.22 +     * Return null, as this is not an annotated type.
    1.23 +     */
    1.24 +    public AnnotatedType asAnnotatedType() {
    1.25 +        return null;
    1.26 +    }
    1.27 +
    1.28 +    /**
    1.29       * Returns a string representation of the type.
    1.30       *
    1.31       * Return name of type including any dimension information.

mercurial