mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 22:36:08 +00:00
Apply caller-selected R8/ProGuard mappings to shared Android inspections, preserving raw identities, exact verification, ambiguity and provenance. Add retained summaries and bounded/cached parsing, with measured real R8/Conscrypt workflows and review fixes. Fixes #6329. Co-authored-by: 555aaditya <107977627+555aaditya@users.noreply.github.com>
35 lines
916 B
Java
35 lines
916 B
Java
package fixture.mapping;
|
|
|
|
/** Source-owned identities for a real R8 mapping, never executed by verification. */
|
|
public final class Original {
|
|
public int count;
|
|
public String title;
|
|
public int[] samples;
|
|
public Nested nested;
|
|
|
|
public Original() {
|
|
count = 7;
|
|
title = "mapping-fixture";
|
|
samples = new int[] { 1, 2 };
|
|
nested = new Nested(this);
|
|
}
|
|
|
|
public int choose(int value) { return value + count; }
|
|
public String choose(String value) { return value; }
|
|
public Nested choose(Nested value) { return value; }
|
|
public Nested[] choose(Nested[] value) { return value; }
|
|
public long 計算(long value) { return value + count; }
|
|
|
|
public static final class Nested {
|
|
public Original owner;
|
|
public byte[] payload;
|
|
|
|
public Nested(Original value) {
|
|
owner = value;
|
|
payload = new byte[] { 3, 4 };
|
|
}
|
|
|
|
public Original echo(Original value) { return value; }
|
|
}
|
|
}
|