8051482: Fix deprecation warnings in javax.lang.model.util
authordarcy
Mon, 21 Jul 2014 16:21:43 -0700
changeset 25696 86204c8c6771
parent 25695 0e7c17d2d3a4
child 25697 b71804e27eb1
8051482: Fix deprecation warnings in javax.lang.model.util Reviewed-by: ksrini
langtools/src/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor7.java
langtools/src/share/classes/javax/lang/model/util/AbstractElementVisitor7.java
langtools/src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java
langtools/src/share/classes/javax/lang/model/util/ElementKindVisitor7.java
langtools/src/share/classes/javax/lang/model/util/ElementScanner7.java
langtools/src/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor7.java
langtools/src/share/classes/javax/lang/model/util/SimpleElementVisitor7.java
langtools/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java
langtools/src/share/classes/javax/lang/model/util/TypeKindVisitor7.java
--- a/langtools/src/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -68,6 +68,7 @@
  * @see AbstractAnnotationValueVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public abstract class AbstractAnnotationValueVisitor7<R, P> extends AbstractAnnotationValueVisitor6<R, P> {
 
--- a/langtools/src/share/classes/javax/lang/model/util/AbstractElementVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/AbstractElementVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -72,6 +72,7 @@
  * @see AbstractElementVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public abstract class AbstractElementVisitor7<R, P> extends AbstractElementVisitor6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -72,6 +72,7 @@
  * @see AbstractTypeVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public abstract class AbstractTypeVisitor7<R, P> extends AbstractTypeVisitor6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/ElementKindVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/ElementKindVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -85,6 +85,7 @@
  * @see ElementKindVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public class ElementKindVisitor7<R, P> extends ElementKindVisitor6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/ElementScanner7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/ElementScanner7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -89,6 +89,7 @@
  * @see ElementScanner9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public class ElementScanner7<R, P> extends ElementScanner6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -75,6 +75,7 @@
  * @see SimpleAnnotationValueVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public class SimpleAnnotationValueVisitor7<R, P> extends SimpleAnnotationValueVisitor6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/SimpleElementVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/SimpleElementVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -81,6 +81,7 @@
  * @see SimpleElementVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public class SimpleElementVisitor7<R, P> extends SimpleElementVisitor6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -81,6 +81,7 @@
  * @see SimpleTypeVisitor9
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public class SimpleTypeVisitor7<R, P> extends SimpleTypeVisitor6<R, P> {
     /**
--- a/langtools/src/share/classes/javax/lang/model/util/TypeKindVisitor7.java	Thu Jul 17 16:46:29 2014 -0700
+++ b/langtools/src/share/classes/javax/lang/model/util/TypeKindVisitor7.java	Mon Jul 21 16:21:43 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 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
@@ -82,6 +82,7 @@
  * @see TypeKindVisitor8
  * @since 1.7
  */
+@SuppressWarnings("deprecation") // Superclass deprecated
 @SupportedSourceVersion(RELEASE_7)
 public class TypeKindVisitor7<R, P> extends TypeKindVisitor6<R, P> {
     /**