blob: a043f72e324ff34edb919322f98b07a3214ae1ad [file] [log] [blame]
Ilshat Aliyev8e134932024-07-19 11:32:49 +00001/*
2 * Copyright 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package jvm;
18
19import java.util.ArrayList;
20import java.util.HashSet;
21
22/** Foo class. */
23public final class Foo {
24
25 void testCompletion() {
26 ArrayList<Integer> list = new ArrayList<>();
27 System.out.println(list);
28
29 // ^
30
31 // step
32 // ; Test completion on the standard types.
33 // type("list.")
34 // completion.trigger()
35 // assert completion.items.filter(label="add.*")
36 }
37}