| // 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.none | |
| // Generics: Generics.twoParams | |
| // Inheritance: Inheritance.implements_ | |
| // IsArray: IsArray.no | |
| // Member: Member.field | |
| // MemberGenerics: MemberGenerics.none | |
| // MemberModifier: MemberModifier.volatile | |
| // MemberName: MemberName.any | |
| // MemberNullability: MemberNullability.nonnull | |
| // MemberType: MemberType.typeParam | |
| // NestedKind: NestedKind.staticClass | |
| // ParamCount: ParamCount.two | |
| // TopLevelKind: TopLevelKind.class_ | |
| // TopLevelModifier: TopLevelModifier.none | |
| public class TestClass116<T, U> implements OtherInterface { | |
| @Override | |
| public void otherInterfaceMethod() {} | |
| public volatile @NotNull T myField; | |
| public static class Nested {} | |
| } |