diff options
Diffstat (limited to 'doclet_adapter/src/test/resources/sample-project/com/example/fields')
-rw-r--r-- | doclet_adapter/src/test/resources/sample-project/com/example/fields/Arrays.java | 36 | ||||
-rw-r--r-- | doclet_adapter/src/test/resources/sample-project/com/example/fields/Fields.java | 28 |
2 files changed, 64 insertions, 0 deletions
diff --git a/doclet_adapter/src/test/resources/sample-project/com/example/fields/Arrays.java b/doclet_adapter/src/test/resources/sample-project/com/example/fields/Arrays.java new file mode 100644 index 0000000..aba4bd4 --- /dev/null +++ b/doclet_adapter/src/test/resources/sample-project/com/example/fields/Arrays.java @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.fields; + +import java.util.List; + +public class Arrays<T> { + + public int[] arr_int_1; + + // ClassDoc + public String[][] arr_String_2; + + // TypeVariable + public T[][][] arr_T_3; + + // Parameterized type + public List<String>[][][][] arr_ListOfString_4; + + // Annotation type + public Override[][][][][] arr_Override_5; +} diff --git a/doclet_adapter/src/test/resources/sample-project/com/example/fields/Fields.java b/doclet_adapter/src/test/resources/sample-project/com/example/fields/Fields.java new file mode 100644 index 0000000..07fee31 --- /dev/null +++ b/doclet_adapter/src/test/resources/sample-project/com/example/fields/Fields.java @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.fields; + +public class Fields { + + public int public_int; + + public transient volatile Object public_transient_volatile_Object; + + public final int public_final_int = 5; + + public final String public_final_String = "abc"; +} |