| // Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| package com.example; | |
| import java.util.*; | |
| import org.jetbrains.annotations.Nullable; | |
| import org.jetbrains.annotations.NotNull; | |
| // GenericNullability: GenericNullability.nonnull | |
| // Generics: Generics.twoParams | |
| // Inheritance: Inheritance.extends_ | |
| // IsArray: IsArray.no | |
| // Member: Member.method | |
| // MemberGenerics: MemberGenerics.oneParam | |
| // MemberModifier: MemberModifier.abstract_ | |
| // MemberName: MemberName.any | |
| // MemberNullability: MemberNullability.nonnull | |
| // MemberType: MemberType.list | |
| // NestedKind: NestedKind.staticClass | |
| // ParamCount: ParamCount.two | |
| // TopLevelKind: TopLevelKind.class_ | |
| // TopLevelModifier: TopLevelModifier.none | |
| public abstract class TestClass035<@NotNull T, @NotNull U> extends GrandParent { | |
| @Override | |
| public void grandParentMethod() {} | |
| public abstract <@NotNull S> @NotNull List<@NotNull S> myMethod(@NotNull List<@NotNull S> p1, int p2); | |
| public static class Nested {} | |
| } |