expected-doclet-output.txt (8694B)
1 import android.support.annotation.NonNull; 2 import androidx.annotation.Nullable; 3 import java.lang.Class; 4 import java.lang.Cloneable; 5 import java.lang.Deprecated; 6 import java.lang.Integer; 7 import java.lang.Long; 8 import java.lang.Runnable; 9 import java.lang.String; 10 import java.lang.annotation.Documented; 11 import java.lang.annotation.ElementType; 12 import java.lang.annotation.Retention; 13 import java.lang.annotation.RetentionPolicy; 14 import java.lang.annotation.Target; 15 import java.util.List; 16 import java.util.Map; 17 import org.mozilla.test.A; 18 import org.mozilla.test.B; 19 import org.mozilla.test.C; 20 import org.mozilla.test.DeprecationSchedule; 21 import org.mozilla.test.TestClass; 22 import org.mozilla.test.testsorta.TestSort; 23 24 package org.mozilla.test { 25 26 @Documented public interface A { 27 } 28 29 @Documented public interface B { 30 } 31 32 @Documented public interface C { 33 } 34 35 @Documented @Retention(value=RetentionPolicy.RUNTIME) @Target(value={ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.METHOD, ElementType.PACKAGE, ElementType.PARAMETER, ElementType.TYPE}) public interface DeprecationSchedule { 36 element public String id(); 37 element public int version(); 38 } 39 40 public class TestClass { 41 ctor public TestClass(); 42 ctor public TestClass(String); 43 ctor public TestClass(String, int); 44 ctor @Deprecated public TestClass(float); 45 ctor public TestClass(int, float); 46 ctor protected TestClass(boolean); 47 method @Deprecated public void testAnnotation(); 48 method public void testAnnotationSorting1(@A @B @C int); 49 method public void testAnnotationSorting2(@A @B @C int); 50 method public void testAnnotationSorting3(@A @B @C int); 51 method public void testArrayArg(int[]); 52 method public <T> void testCompositeParam(List<T>); 53 method public final void testFinal(); 54 method public void testFinalArg(int); 55 method public void testHiddenAnnotation(); 56 method public final void testMethodAnnotation(@NonNull String); 57 method public final void testMultipleMethodAnnotation(@NonNull String, @NonNull String); 58 method public <T> void testParamNestedCompositeType(List<List<T>>); 59 method public <T> List<T> testReturnCompositeType(); 60 method public <T> List<List<T>> testReturnNestedCompositeType(); 61 method @NonNull public final String testReturnTypeAnnotation(); 62 method public <T> T testReturnTypeUnbounded(); 63 method public <T extends Runnable> T testReturnTypeWithBound(); 64 method public static void testStatic(); 65 method public String testStringMethod(); 66 method public String testStringMethodWithArg(String); 67 method public synchronized void testSynchronized(); 68 method public <T> void testTypeVariableUnbounded(T); 69 method public <T extends Runnable> void testTypeVariableWithBounds(T); 70 method public <T extends Map<Integer,Long>> void testTypeVariableWithMapBounds(T); 71 method public <T extends Runnable & Cloneable> void testTypeVariableWithMultipleBounds(T); 72 method public void testVarArgsOneArg(int...); 73 method public void testVarArgsTwoArgs(int, int...); 74 method public void testVoidMethod(); 75 method public void testVoidMethodWithArg(String); 76 method protected void testProtectedMethod(); 77 field public static final List<String> TEST_COMPOSITE_TYPE; 78 field @Deprecated public static final int TEST_DEPRECATED_CONST = 1; 79 field public static final double TEST_DOUBLE = 2.0; 80 field public static final int TEST_HIDDEN_ANNOTATION = 2; 81 field public static final int TEST_INT = 1; 82 field public static final long TEST_LONG = 2L; 83 field public static final List<List<String>> TEST_NESTED_COMPOSITE_TYPE; 84 field public static TestSort sort1; 85 field public static org.mozilla.test.testsortb.TestSort sort2; 86 field public String testFieldWithValue; 87 field public String testFieldWithoutValue; 88 field public final String testFinalField = "finalValue"; 89 field public static final String testFinalStaticField = "finalStaticValue"; 90 field @A @B @C public int testSorting1; 91 field @A @B @C public int testSorting2; 92 field @A @B @C public int testSorting3; 93 field protected int testProtectedField; 94 } 95 96 @Deprecated public class TestClass.DeprecatedClass { 97 ctor public DeprecatedClass(); 98 } 99 100 public class TestClass.HiddenAnnotationClass { 101 ctor public HiddenAnnotationClass(); 102 } 103 104 public abstract class TestClass.TestAbstractClass { 105 ctor public TestAbstractClass(); 106 } 107 108 public static interface TestClass.TestAnnotation { 109 } 110 111 @Deprecated @DeprecationSchedule(id="test-deprecation",version=2) public static class TestClass.TestAnnotationBase { 112 method @Deprecated public void methodToOverride(); 113 method public void methodToOverrideWithArgAnnotation(@NonNull String); 114 method public void methodToOverrideWithArgAnnotation2(@Nullable String); 115 } 116 117 @Deprecated @DeprecationSchedule(id="test-deprecation",version=2) public static class TestClass.TestAnnotationChildDuplicateAnnotation extends TestClass.TestAnnotationBase { 118 } 119 120 @Deprecated @DeprecationSchedule(id="test-deprecation",version=2) public static class TestClass.TestAnnotationChildShouldHaveAnnotation extends TestClass.TestAnnotationBase { 121 method public void methodToOverride(int); 122 } 123 124 public static interface TestClass.TestDefaultInterface { 125 method default public void testInterfaceMethod(); 126 } 127 128 public static final enum TestClass.TestEnum { 129 method public static TestClass.TestEnum valueOf(String); 130 method public static TestClass.TestEnum[] values(); 131 enum_constant public static final TestClass.TestEnum TestEnumConstantOne; 132 enum_constant public static final TestClass.TestEnum TestEnumConstantTwo; 133 } 134 135 public abstract class TestClass.TestExtendGeneric implements List<TestClass> { 136 ctor public TestExtendGeneric(); 137 } 138 139 public static class TestClass.TestExtends extends TestClass.TestInterfaceImpl { 140 ctor public TestExtends(); 141 } 142 143 public static class TestClass.TestExtendsImplements extends TestClass.TestSubclass implements TestClass.TestInterface TestClass.TestInterfaceTwo { 144 ctor public TestExtendsImplements(); 145 } 146 147 public static interface TestClass.TestInterface { 148 method public void testInterfaceMethod(); 149 } 150 151 public static class TestClass.TestInterface.TestSubInterfaceClass { 152 } 153 154 public static interface TestClass.TestInterface.TestSubInterfaceClass.TestSubClassInterface { 155 } 156 157 public static class TestClass.TestInterfaceImpl implements TestClass.TestInterface { 158 ctor public TestInterfaceImpl(); 159 } 160 161 public static interface TestClass.TestInterfaceTwo { 162 } 163 164 public static interface TestClass.TestInterfaceTypeVariable<T> { 165 method public void testTypeVariableMethod(T); 166 } 167 168 public static class TestClass.TestMultipleInterfaceImpl implements TestClass.TestInterface TestClass.TestInterfaceTwo { 169 ctor public TestMultipleInterfaceImpl(); 170 } 171 172 public static class TestClass.TestOverrideNonVisibleApi extends TestClass.TestPackageProtected { 173 method public void testPackageProtected(); 174 } 175 176 public static class TestClass.TestPackageProtected { 177 } 178 179 public static class TestClass.TestSort { 180 method public void testSortA0(); 181 method public void testSortB0(); 182 method public void testSortC0(); 183 method public void testSortD0(); 184 method protected void testSortA1(); 185 method protected void testSortB1(); 186 method protected void testSortC1(); 187 method protected void testSortD1(); 188 field public static final int TEST_SORT_A = 2; 189 field public static final int TEST_SORT_B = 4; 190 field public static final int TEST_SORT_C = 1; 191 field public static final int TEST_SORT_D = 3; 192 } 193 194 public static class TestClass.TestSort.TestSortA { 195 } 196 197 public static class TestClass.TestSort.TestSortB { 198 } 199 200 public static class TestClass.TestSort.TestSortC { 201 } 202 203 public static class TestClass.TestSort.TestSortD { 204 } 205 206 public static class TestClass.TestStaticSubclass { 207 ctor public TestStaticSubclass(); 208 } 209 210 public class TestClass.TestSubclass { 211 ctor public TestSubclass(); 212 } 213 214 public static class TestClass.TestTypeBoundVariable<T extends Runnable> { 215 ctor public TestTypeBoundVariable(); 216 method public void testTypeVariableMethod(T); 217 } 218 219 public static class TestClass.TestTypeVariable<T> { 220 ctor public TestTypeVariable(); 221 method public void testTypeVariableMethod(T); 222 } 223 224 } 225 226 package org.mozilla.test.testsorta { 227 228 public class TestSort { 229 } 230 231 } 232 233 package org.mozilla.test.testsortb { 234 235 public class TestSort { 236 } 237 238 } 239 240 package org.mozilla.test.testsortc { 241 242 public class TestSort { 243 } 244 245 } 246 247 package org.mozilla.test.testsortd { 248 249 public class TestSort { 250 } 251 252 }