1 package test_package; 2 3 import test_package.Bar; 4 import test_package.ByteEnum; 5 import android.os.PersistableBundle; 6 7 union SimpleUnion { 8 const int kZero = 0; 9 const int kOne = 1; 10 const int kOnes = 0xffffffff; 11 const byte kByteOne = 1; 12 const long kLongOnes = 0xffffffffffffffff; 13 const String kEmpty = ""; 14 const String kFoo = "foo"; 15 16 int a = 42; 17 int[] b; 18 String c; 19 ByteEnum d; 20 ByteEnum[] e; 21 @nullable Bar f; 22 23 const String S1 = "a string constant"; 24 PersistableBundle g; 25 } 26