| // 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.none | |
| // IsArray: IsArray.yes | |
| // Member: Member.method | |
| // MemberGenerics: MemberGenerics.none | |
| // MemberModifier: MemberModifier.synchronized | |
| // MemberName: MemberName.setFoo | |
| // MemberNullability: MemberNullability.none | |
| // MemberType: MemberType.customInterface | |
| // NestedKind: NestedKind.staticClass | |
| // ParamCount: ParamCount.two | |
| // TopLevelKind: TopLevelKind.class_ | |
| // TopLevelModifier: TopLevelModifier.sealed | |
| public sealed class TestClass080<@Nullable T extends Number> { | |
| public synchronized CustomInterface<@Nullable T>[] setFoo(CustomInterface<@Nullable T>[] p1, int p2) { return null; } | |
| public static class Nested {} | |
| public static final class Sub<@Nullable T extends Number> extends TestClass080<T> {} | |
| } |