link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,146 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.file.BIFile
* javax.baja.sys.BSingleton
* javax.baja.sys.Sys
* javax.baja.sys.Type
*/
package javax.baja.platform.install;
import java.io.InputStream;
import javax.baja.file.BIFile;
import javax.baja.sys.BSingleton;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public abstract class BFileReconciler
extends BSingleton {
public static final Type TYPE;
public static final ReconciliationResults NO_RECONCILIATION;
static /* synthetic */ Class class$javax$baja$platform$install$BFileReconciler;
public Type getType() {
return TYPE;
}
public abstract ReconciliationResults reconcile(BIFile var1, BIFile var2) throws Exception;
public final ReconciliationResults reconcile(BIFile bIFile, long l, BIFile bIFile2, long l2) throws Exception {
if (bIFile == null || l == l2 && l != (long)-1) {
return NO_RECONCILIATION;
}
if (bIFile2 == null) {
return new FileReconciliationResults(bIFile);
}
return new LazyReconciliationResults(bIFile, bIFile2);
}
static /* synthetic */ Class class(String string, boolean bl) {
try {
Class<?> clazz = Class.forName(string);
if (!bl) {
clazz = clazz.getComponentType();
}
return clazz;
}
catch (ClassNotFoundException classNotFoundException) {
throw new NoClassDefFoundError(classNotFoundException.getMessage());
}
}
static {
Class clazz = class$javax$baja$platform$install$BFileReconciler;
if (clazz == null) {
clazz = class$javax$baja$platform$install$BFileReconciler = BFileReconciler.class("[Ljavax.baja.platform.install.BFileReconciler;", false);
}
TYPE = Sys.loadType((Class)clazz);
NO_RECONCILIATION = new ReconciliationResults(){
public final InputStream getInputStream() throws Exception {
throw new IllegalStateException();
}
public final long getSize() throws Exception {
throw new IllegalStateException();
}
public final boolean shouldReplaceContents() {
return false;
}
};
}
public static class FileReconciliationResults
implements ReconciliationResults {
private BIFile file;
public InputStream getInputStream() throws Exception {
return this.file.getInputStream();
}
public long getSize() throws Exception {
return this.file.getSize();
}
public boolean shouldReplaceContents() {
return true;
}
public FileReconciliationResults(BIFile bIFile) {
this.file = bIFile;
}
}
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
protected class LazyReconciliationResults
implements ReconciliationResults {
private ReconciliationResults results;
private BIFile newContents;
private BIFile existingContents;
public InputStream getInputStream() throws Exception {
return this.results().getInputStream();
}
public long getSize() throws Exception {
return this.results().getSize();
}
public boolean shouldReplaceContents() throws Exception {
return this.results().shouldReplaceContents();
}
private final ReconciliationResults results() throws Exception {
if (this.results == null) {
this.results = BFileReconciler.this.reconcile(this.newContents, this.existingContents);
}
return this.results;
}
private final /* synthetic */ void this() {
this.results = null;
}
public LazyReconciliationResults(BIFile bIFile, BIFile bIFile2) {
this.this();
this.newContents = bIFile;
this.existingContents = bIFile2;
}
}
public static interface ReconciliationResults {
public InputStream getInputStream() throws Exception;
public long getSize() throws Exception;
public boolean shouldReplaceContents() throws Exception;
}
}
@@ -0,0 +1,78 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.sys.BFrozenEnum
* javax.baja.sys.Sys
* javax.baja.sys.Type
*/
package javax.baja.platform.install;
import javax.baja.sys.BFrozenEnum;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public final class BPlatformPartType
extends BFrozenEnum {
public static final int ARCH = 0;
public static final int BRAND = 1;
public static final int MODEL = 2;
public static final int MODULE = 3;
public static final int NRE = 4;
public static final int OS = 5;
public static final int VM = 6;
public static final int OTHER = 7;
public static final BPlatformPartType arch = new BPlatformPartType(0);
public static final BPlatformPartType brand = new BPlatformPartType(1);
public static final BPlatformPartType model = new BPlatformPartType(2);
public static final BPlatformPartType module = new BPlatformPartType(3);
public static final BPlatformPartType nre = new BPlatformPartType(4);
public static final BPlatformPartType os = new BPlatformPartType(5);
public static final BPlatformPartType vm = new BPlatformPartType(6);
public static final BPlatformPartType other = new BPlatformPartType(7);
public static final Type TYPE;
public static final BPlatformPartType DEFAULT;
static /* synthetic */ Class class$javax$baja$platform$install$BPlatformPartType;
public final Type getType() {
return TYPE;
}
public static final BPlatformPartType make(int n) {
return (BPlatformPartType)arch.getRange().get(n, false);
}
public static final BPlatformPartType make(String string) {
return (BPlatformPartType)arch.getRange().get(string);
}
static /* synthetic */ Class class(String string, boolean bl) {
try {
Class<?> clazz = Class.forName(string);
if (!bl) {
clazz = clazz.getComponentType();
}
return clazz;
}
catch (ClassNotFoundException classNotFoundException) {
throw new NoClassDefFoundError(classNotFoundException.getMessage());
}
}
private BPlatformPartType(int n) {
super(n);
}
static {
Class clazz = class$javax$baja$platform$install$BPlatformPartType;
if (clazz == null) {
clazz = class$javax$baja$platform$install$BPlatformPartType = BPlatformPartType.class("[Ljavax.baja.platform.install.BPlatformPartType;", false);
}
TYPE = Sys.loadType((Class)clazz);
DEFAULT = arch;
}
}
@@ -0,0 +1,71 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.data.BIDataValue
* javax.baja.sys.BFrozenEnum
* javax.baja.sys.Sys
* javax.baja.sys.Type
*/
package javax.baja.platform.install;
import javax.baja.data.BIDataValue;
import javax.baja.sys.BFrozenEnum;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public final class BVersionRelation
extends BFrozenEnum
implements BIDataValue {
public static final int MINIMUM = 0;
public static final int EXACT = 1;
public static final int MAXIMUM = 2;
public static final BVersionRelation minimum = new BVersionRelation(0);
public static final BVersionRelation exact = new BVersionRelation(1);
public static final BVersionRelation maximum = new BVersionRelation(2);
public static final Type TYPE;
public static final BVersionRelation DEFAULT;
static /* synthetic */ Class class$javax$baja$platform$install$BVersionRelation;
public final Type getType() {
return TYPE;
}
public static final BVersionRelation make(int n) {
return (BVersionRelation)minimum.getRange().get(n, false);
}
public static final BVersionRelation make(String string) {
return (BVersionRelation)minimum.getRange().get(string);
}
static /* synthetic */ Class class(String string, boolean bl) {
try {
Class<?> clazz = Class.forName(string);
if (!bl) {
clazz = clazz.getComponentType();
}
return clazz;
}
catch (ClassNotFoundException classNotFoundException) {
throw new NoClassDefFoundError(classNotFoundException.getMessage());
}
}
private BVersionRelation(int n) {
super(n);
}
static {
Class clazz = class$javax$baja$platform$install$BVersionRelation;
if (clazz == null) {
clazz = class$javax$baja$platform$install$BVersionRelation = BVersionRelation.class("[Ljavax.baja.platform.install.BVersionRelation;", false);
}
TYPE = Sys.loadType((Class)clazz);
DEFAULT = minimum;
}
}
@@ -0,0 +1,23 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.file.BIFile
*/
package javax.baja.platform.install;
import javax.baja.file.BIFile;
import javax.baja.platform.install.PlatformDependency;
public interface InstallationSummary {
public boolean canInstall();
public BIFile[] getFilesToInstall();
public String[] getModulesToUninstall();
public PlatformDependency[] getUnmetDependencies();
public BIFile[] getExcludedFiles();
}
@@ -0,0 +1,14 @@
/*
* Decompiled with CFR 0.152.
*/
package javax.baja.platform.install;
import javax.baja.platform.install.BVersionRelation;
import javax.baja.platform.install.PlatformPart;
public interface PlatformDependency {
public PlatformPart getPartPrototype();
public BVersionRelation getVersionRelation();
}
@@ -0,0 +1,19 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.util.Version
*/
package javax.baja.platform.install;
import javax.baja.platform.install.BPlatformPartType;
import javax.baja.util.Version;
public interface PlatformPart {
public String getPartName();
public BPlatformPartType getPartType();
public Version getPartVersion();
}