| // 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.nullable | |
| // Generics: Generics.oneParam | |
| // Inheritance: Inheritance.implements_ | |
| // IsArray: IsArray.yes | |
| // Member: Member.constructor | |
| // MemberGenerics: MemberGenerics.none | |
| // MemberModifier: MemberModifier.none | |
| // MemberName: MemberName.any | |
| // MemberNullability: MemberNullability.nullable | |
| // MemberType: MemberType.string | |
| // NestedKind: NestedKind.enum_ | |
| // ParamCount: ParamCount.one | |
| // TopLevelKind: TopLevelKind.record | |
| // TopLevelModifier: TopLevelModifier.none | |
| public record TestClass057<@Nullable T>(@Nullable String[] field) implements OtherInterface { | |
| @Override | |
| public void otherInterfaceMethod() {} | |
| } |