src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeWriter.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -21,15 +21,16 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-package com.sun.tools.doclets.internal.toolkit;
+package jdk.javadoc.internal.doclets.toolkit;
import java.io.*;
-import com.sun.javadoc.*;
+import javax.lang.model.element.TypeElement;
+
/**
* The interface for writing annotation type output.
*
* <p><b>This is NOT part of any supported API.
* If you write code that depends on this, you do so at your own risk.
@@ -159,11 +160,11 @@
* Close the writer.
*/
public void close() throws IOException;
/**
- * Return the {@link AnnotationTypeDoc} being documented.
+ * Return the {@link TypeElement} being documented.
*
- * @return the AnnotationTypeDoc being documented.
+ * @return the TypeElement representing the annotation being documented.
*/
- public AnnotationTypeDoc getAnnotationTypeDoc();
+ public TypeElement getAnnotationTypeElement();
}