| // Copyright 2020 The Bazel Authors. All rights reserved. |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| package com.google.devtools.build.android.r8.testdata.naming001; |
| |
| /** |
| * Test class TODO(sgjesse): Update this class to be more targeted to testing CompatDexBuilder. The |
| * content of this class is pretty random. It was just the class that happened to be used for |
| * testing in the R8 repo. The class was actually there for testing some R8 renaming, and |
| * CompatDexBuilderTest just happened to piggy-bag on this class. |
| */ |
| @SuppressWarnings({"PrivateConstructorForUtilityClass", "unused"}) |
| public class K { |
| private int i; |
| private int h; |
| private final int i2 = 7; |
| private static int j; |
| private static final int I3 = 7; |
| |
| private static final Object o = "TAG"; |
| private static final String TAG = "TAG"; |
| private final String tag2 = "TAG"; |
| |
| static { |
| j = 6; |
| } |
| |
| { |
| i = 6; |
| } |
| |
| void keep() { |
| h = 7; |
| } |
| } |