| // 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.upperBound |
| // Inheritance: Inheritance.implements_ |
| // IsArray: IsArray.yes |
| // Member: Member.method |
| // MemberGenerics: MemberGenerics.twoParams |
| // MemberModifier: MemberModifier.abstract_ |
| // MemberName: MemberName.getFoo |
| // MemberNullability: MemberNullability.none |
| // MemberType: MemberType.byte_ |
| // NestedKind: NestedKind.enum_ |
| // ParamCount: ParamCount.one |
| // TopLevelKind: TopLevelKind.class_ |
| // TopLevelModifier: TopLevelModifier.none |
| public abstract class TestClass014<@NotNull T extends Number> implements OtherInterface { |
| @Override |
| public void otherInterfaceMethod() {} |
| public abstract <@NotNull S, @NotNull V> byte [] getFoo(byte [] p1); |
| public enum NestedEnum { V1 } |
| |
| } |