public static class DexParser.Desugaring
Configuration for language feature and newer API call desugaring.
| Modifier and Type | Class and Description |
|---|---|
static class |
Desugaring.Companion |
| Modifier and Type | Field and Description |
|---|---|
static Desugaring.Companion |
Companion |
static DexParser.Desugaring |
DISABLED |
| Constructor and Description |
|---|
Desugaring(int minApiLevel,
java.util.List<? extends java.nio.file.Path> libraryJars)
Configuration for language feature and newer API call desugaring.
|
| Modifier and Type | Method and Description |
|---|---|
int |
component1()
The minimum API level supported.
|
java.util.List<java.nio.file.Path> |
component2()
The library jar(s) for use in desugaring.
|
DexParser.Desugaring |
copy(int minApiLevel,
java.util.List<? extends java.nio.file.Path> libraryJars)
Configuration for language feature and newer API call desugaring.
|
boolean |
equals(java.lang.Object p) |
java.util.List<java.nio.file.Path> |
getLibraryJars()
The library jar(s) for use in desugaring.
|
int |
getMinApiLevel()
The minimum API level supported.
|
int |
hashCode() |
java.lang.String |
toString() |
public static DexParser.Desugaring DISABLED
public static Desugaring.Companion Companion
public Desugaring(int minApiLevel,
java.util.List<? extends java.nio.file.Path> libraryJars)
Configuration for language feature and newer API call desugaring.
minApiLevel - The minimum API level supported. This affects how much desugaring will occur.libraryJars - The library jar(s) for use in desugaring.
Typically this is an android.jar from the Android SDK or rt.jar from the JDK.
public int getMinApiLevel()
The minimum API level supported.
This affects how much desugaring will occur.
public java.util.List<java.nio.file.Path> getLibraryJars()
The library jar(s) for use in desugaring.
Typically this is an android.jar from the Android SDK or rt.jar from the JDK.
public int component1()
The minimum API level supported.
This affects how much desugaring will occur.
public java.util.List<java.nio.file.Path> component2()
The library jar(s) for use in desugaring.
Typically this is an android.jar from the Android SDK or rt.jar from the JDK.
public DexParser.Desugaring copy(int minApiLevel, java.util.List<? extends java.nio.file.Path> libraryJars)
Configuration for language feature and newer API call desugaring.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)