blob: fd6fe40d0779342f5c6c662ca11aabab545db13a [file] [log] [blame]
Mads Ager418d1ca2017-05-22 09:35:49 +02001// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package shaking1;
5
6public class Unused {
7
8 public static int aStaticFieldThatIsNotUsedButKept = 42;
9
10 public static void unusedStaticMethod() {
11 System.out.println("unusedStaticMethod");
12 }
13
14 public void unusedInstanceMethod() {
15 System.out.println("unusedInstanceMethod");
16 }
17
18 public String aMethodThatIsNotUsedButKept() {
19 return "Unused string";
20 }
21}