langtools/src/share/classes/com/sun/tools/javadoc/PrimitiveType.java
changeset 15385 ee1eebe7e210
parent 14260 727a84636f12
child 16969 b58d8a70d921
--- a/langtools/src/share/classes/com/sun/tools/javadoc/PrimitiveType.java	Wed Jan 23 20:57:40 2013 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javadoc/PrimitiveType.java	Wed Jan 23 13:27:24 2013 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -121,13 +121,20 @@
     }
 
     /**
-     * Return null, as this is not a wildcard type;
+     * Return null, as this is not a wildcard type.
      */
     public WildcardType asWildcardType() {
         return null;
     }
 
     /**
+     * Return null, as this is not an annotated type.
+     */
+    public AnnotatedType asAnnotatedType() {
+        return null;
+    }
+
+    /**
      * Returns a string representation of the type.
      *
      * Return name of type including any dimension information.