--- a/langtools/src/share/classes/com/sun/javadoc/AnnotatedType.java Wed Jun 25 11:22:27 2014 -0700
+++ b/langtools/src/share/classes/com/sun/javadoc/AnnotatedType.java Wed Jun 25 17:58:37 2014 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2014, 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
@@ -39,7 +39,15 @@
*/
public interface AnnotatedType extends Type {
+ /**
+ * Returns the annotations associated with this type.
+ * @return the annotations associated with this type
+ */
AnnotationDesc[] annotations();
+ /**
+ * Returns the underlying type.
+ * @return the underlying type
+ */
Type underlyingType();
}