| // 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.none |
| // Inheritance: Inheritance.multipleImplements |
| // IsArray: IsArray.no |
| // Member: Member.method |
| // MemberGenerics: MemberGenerics.twoParams |
| // MemberModifier: MemberModifier.synchronized |
| // MemberName: MemberName.setFoo |
| // MemberNullability: MemberNullability.nullable |
| // MemberType: MemberType.customRecord |
| // NestedKind: NestedKind.record |
| // ParamCount: ParamCount.two |
| // TopLevelKind: TopLevelKind.class_ |
| // TopLevelModifier: TopLevelModifier.final_ |
| public final class TestClass101 implements OtherInterface, BaseInterface { |
| @Override |
| public void otherInterfaceMethod() {} |
| @Override |
| public void baseMethod() {} |
| public synchronized <@NotNull S, @NotNull V> @Nullable CustomRecord<@NotNull S> setFoo(@Nullable CustomRecord<@NotNull S> p1, int p2) { return null; } |
| public static record NestedRecord(int x) {} |
| |
| } |