langtools/test/com/sun/javadoc/testUseOption/pkg1/C1.java
changeset 25284 e6a8d468b838
parent 5520 86e4b9a9da40
--- a/langtools/test/com/sun/javadoc/testUseOption/pkg1/C1.java	Tue Jun 24 10:51:00 2014 -0700
+++ b/langtools/test/com/sun/javadoc/testUseOption/pkg1/C1.java	Tue Jun 24 15:15:22 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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
@@ -23,6 +23,8 @@
 
 package pkg1;
 
+import java.util.List;
+
 /**
  * Test 3 passes.
  */
@@ -40,4 +42,15 @@
     public UsedClass methodInC1(UsedClass p) {
         return p;
     }
+
+    public List<UsedClass> methodInC1ReturningType() {
+        return null;
+    }
+
+    /*
+     * this must not appear anywhere.
+     */
+    UsedClass methodInC1Protected(List<UsedClass> p){
+        return p;
+    }
 }