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 assumevalues5; 5 6 public class Assumevalues { 7 main(String[] args)8 public static void main(String[] args) { 9 System.out.println(methodTrue()); 10 System.out.println(methodFalse()); 11 } 12 methodTrue()13 public static boolean methodTrue() { 14 System.out.println("methodTrue"); 15 return true; 16 } 17 methodFalse()18 public static boolean methodFalse() { 19 System.out.println("methodFalse"); 20 return false; 21 } 22 } 23