mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 06:04:59 +00:00
This commit introduces a new Python script, `fix_constructors_v2.py`, which automates the process of correcting constructor names in Java files based on Gradle error outputs. The script scans specified Java files, identifies constructors that do not match their class names, and updates them accordingly. It handles various edge cases, ensuring that only relevant constructors are modified. The script also provides feedback on the changes made during execution.
34 lines
1013 B
Java
34 lines
1013 B
Java
package p;
|
|
|
|
import d.DInterfaceMike;
|
|
import javax.swing.table.DefaultTableModel;
|
|
|
|
class ManagerInPPackage extends DefaultTableModel {
|
|
String[] a = new String[] { R.a(this.b, "Name"), R.a(this.b, "Display Name"), R.a(this.b, "Description") };
|
|
|
|
ManagerInPPackage(R paramR) {
|
|
setColumnIdentifiers((Object[])this.a);
|
|
}
|
|
|
|
public boolean isCellEditable(int paramInt1, int paramInt2) {
|
|
return false;
|
|
}
|
|
|
|
public int getColumnCount() {
|
|
return 3;
|
|
}
|
|
|
|
public int getRowCount() {
|
|
return R.a(this.b).size();
|
|
}
|
|
|
|
public Object getValueAt(int paramInt1, int paramInt2) {
|
|
return (R.a(this.b).size() > paramInt1) ? ((paramInt2 == 0) ? ((DInterfaceMike)R.a(this.b).get(paramInt1)).l() : ((paramInt2 == 1) ? ((DInterfaceMike)R.a(this.b).get(paramInt1)).b() : ((DInterfaceMike)R.a(this.b).get(paramInt1)).j())) : null;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/p/S.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |