File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 111111import com .sun .source .util .DocSourcePositions ;
112112import com .sun .source .util .DocTrees ;
113113import com .sun .source .util .TreePath ;
114- import com .sun .tools .javac .model .JavacTypes ;
115114import jdk .javadoc .internal .doclets .toolkit .BaseConfiguration ;
116115import jdk .javadoc .internal .doclets .toolkit .BaseOptions ;
117116import jdk .javadoc .internal .doclets .toolkit .CommentUtils ;
@@ -1294,9 +1293,8 @@ public Object getPreviewFeature(Element e) {
12941293 */
12951294 private Object getAnnotationElement (Element e , TypeMirror annotationType , String annotationElementName ) {
12961295 List <? extends AnnotationMirror > annotationList = e .getAnnotationMirrors ();
1297- JavacTypes jctypes = ((DocEnvImpl ) configuration .docEnv ).toolEnv .typeutils ;
12981296 for (AnnotationMirror anno : annotationList ) {
1299- if (jctypes .isSameType (anno .getAnnotationType (), annotationType )) {
1297+ if (typeUtils .isSameType (anno .getAnnotationType (), annotationType )) {
13001298 Map <? extends ExecutableElement , ? extends AnnotationValue > pairs = anno .getElementValues ();
13011299 if (!pairs .isEmpty ()) {
13021300 for (ExecutableElement element : pairs .keySet ()) {
You can’t perform that action at this time.
0 commit comments