| // 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.upperBound | |
| // Inheritance: Inheritance.diamond | |
| // IsArray: IsArray.yes | |
| // Member: Member.method | |
| // MemberGenerics: MemberGenerics.twoParams | |
| // MemberModifier: MemberModifier.final_ | |
| // MemberName: MemberName.setFoo | |
| // MemberNullability: MemberNullability.none | |
| // MemberType: MemberType.float_ | |
| // NestedKind: NestedKind.interface | |
| // ParamCount: ParamCount.zero | |
| // TopLevelKind: TopLevelKind.class_ | |
| // TopLevelModifier: TopLevelModifier.final_ | |
| public final class TestClass094<@Nullable T extends Number> implements DiamondLeft, DiamondRight { | |
| @Override | |
| public void baseMethod() {} | |
| @Override | |
| public void leftMethod() {} | |
| @Override | |
| public void rightMethod() {} | |
| public final <@Nullable S, @Nullable V> float [] setFoo() { return null; } | |
| public static interface Nested {} | |
| } |