src/share/classes/java/lang/reflect/Parameter.java

Print this page

        

@@ -188,19 +188,19 @@
     }
 
     private transient volatile Class<?> parameterClassCache = null;
 
     /**
-     * Returns {@code true} if this parameter is a synthesized
+     * Returns {@code true} if this parameter is a mandated
      * construct; returns {@code false} otherwise.
      *
-     * @return true if and only if this parameter is a synthesized
+     * @return true if and only if this parameter is a mandated
      * construct as defined by
      * <cite>The Java&trade; Language Specification</cite>.
      */
-    public boolean isSynthesized() {
-        return Modifier.isSynthesized(getModifiers());
+    public boolean isMandated() {
+        return Modifier.isMandated(getModifiers());
     }
 
     /**
      * Returns {@code true} if this parameter is a synthetic
      * construct; returns {@code false} otherwise.