blob: 4537ab414f0220f652c3489d721f0d53b31c2dd3 [file] [log] [blame]
// 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", "ClassCanBeStatic", "unused"})
public class Reflect2 {
public volatile int fieldPublic;
private volatile int fieldPrivate;
public volatile long fieldLong;
private volatile long fieldLong2;
volatile long fieldLong3;
protected volatile long fieldLong4;
public volatile A a;
public volatile B b;
private volatile Object c;
private void calledMethod() {}
public void m(A a) {}
private void privateMethod(B b) {}
class A {}
class B {}
}