• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2017, 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.
4 package classmerging;
5 
6 public class SubClass extends SuperClass {
7 
8   private int field;
9 
SubClass(int field)10   public SubClass(int field) {
11     this(field, field + 100);
12   }
13 
SubClass(int one, int other)14   public SubClass(int one, int other) {
15     super(one);
16     field = other;
17   }
18 
toString()19   public String toString() {
20     return "is " + field + " " + getField();
21   }
22 }
23