Initial commit from the source zip for version 2.3.18

This commit is contained in:
Raven Szewczyk committed 2022-08-22 16:27:02 +01:00
commit dccbbdd63d
62 files changed
+12694

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
package shadersmodcore.transform;
import java.util.ArrayList;
import shadersmodcore.transform.Names.Clas;
import shadersmodcore.transform.Names.Fiel;
import shadersmodcore.transform.Names.Meth;
public class Namer {
ArrayList<Clas> ac = new ArrayList();
ArrayList<Fiel> af = new ArrayList();
ArrayList<Meth> am = new ArrayList();
Clas c(String name) {
Clas x = new Clas(name);
if (ac!=null) ac.add(x);
return x;
}
Fiel f(Clas clas, String name, String desc) {
Fiel x = new Fiel(clas, name, desc);
if (af!=null) af.add(x);
return x;
}
Fiel f(Clas clas, Fiel fiel) {
Fiel x = new Fiel(clas, fiel.name, fiel.desc);
if (af!=null) af.add(x);
return x;
}
Meth m(Clas clas, String name, String desc) {
Meth x = new Meth(clas, name, desc);
if (am!=null) am.add(x);
return x;
}
Meth m(Clas clas, Meth meth) {
Meth x = new Meth(clas, meth.name, meth.desc);
if (am!=null) am.add(x);
return x;
}
public void setNames() {
}
}