summaryrefslogtreecommitdiff
path: root/java/com/google/devtools/build/android/desugar/FieldInfo.java
diff options
context:
space:
mode:
authorkmb <kmb@google.com>2018-03-12 21:37:51 -0700
committerIvan Gavrilovic <gavra@google.com>2018-05-04 10:40:06 +0100
commit44b53edaa9c5611c75e08da2fdc5d91c7b0ac6ae (patch)
tree6040dd4b8305db93501afa19e1c23c6f0dba7fe2 /java/com/google/devtools/build/android/desugar/FieldInfo.java
parent46d8182c5c6cb6616586a7ba8466f88ef2fee16a (diff)
downloaddesugar-44b53edaa9c5611c75e08da2fdc5d91c7b0ac6ae.tar.gz
Make KeepScanner tool search classpath for nearest definition of each member reference, instead of potentially referring to a subtype.
Refactor desugar's class loading machinery and related code into a separate package for easier reuse in this tool. RELNOTES: None. PiperOrigin-RevId: 188825305 GitOrigin-RevId: 2cbeb24a9c41c6b14ecbb26e2e198fbaf79aea64 Change-Id: Ie2969cb1e1c86aa68c5a6dc0be6b42b09dfaee70
Diffstat (limited to 'java/com/google/devtools/build/android/desugar/FieldInfo.java')
-rw-r--r--java/com/google/devtools/build/android/desugar/FieldInfo.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/java/com/google/devtools/build/android/desugar/FieldInfo.java b/java/com/google/devtools/build/android/desugar/FieldInfo.java
deleted file mode 100644
index c281039..0000000
--- a/java/com/google/devtools/build/android/desugar/FieldInfo.java
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2016 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.desugar;
-
-import com.google.auto.value.AutoValue;
-
-/** A value class to store the fields information. */
-@AutoValue
-public abstract class FieldInfo {
-
- static FieldInfo create(String owner, String name, String desc) {
- return new AutoValue_FieldInfo(owner, name, desc);
- }
-
- public abstract String owner();
- public abstract String name();
- public abstract String desc();
-}