Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
package com.amazonaws.regions;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes.dex */
public final class Region {
public final String domain;
public final String name;
public final Map serviceEndpoints = new HashMap();
public final Map httpSupport = new HashMap();
public final Map httpsSupport = new HashMap();
public String getDomain() {
return this.domain;
}
public Map getHttpSupport() {
return this.httpSupport;
}
public Map getHttpsSupport() {
return this.httpsSupport;
}
public String getName() {
return this.name;
}
public Map getServiceEndpoints() {
return this.serviceEndpoints;
}
public Region(String str, String str2) {
this.name = str;
if (str2 == null || str2.isEmpty()) {
this.domain = "amazonaws.com";
} else {
this.domain = str2;
}
}
public static Region getRegion(Regions regions) {
return RegionUtils.getRegion(regions.getName());
}
public static Region getRegion(String str) {
return RegionUtils.getRegion(str);
}
public String getServiceEndpoint(String str) {
return (String) this.serviceEndpoints.get(str);
}
public boolean isServiceSupported(String str) {
return this.serviceEndpoints.containsKey(str);
}
public boolean equals(Object obj) {
if (obj instanceof Region) {
return getName().equals(((Region) obj).getName());
}
return false;
}
public int hashCode() {
return getName().hashCode();
}
public String toString() {
return getName();
}
}