mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 21:55:12 +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.
33 lines
723 B
Java
33 lines
723 B
Java
package L;
|
|
|
|
import ax.CloneableImplInAxPackage;
|
|
import ax.AxInterfaceAb;
|
|
import ax.AbstractInAxPackage;
|
|
|
|
public class IsNaNFunction extends AbstractInAxPackage {
|
|
AxInterfaceAb a;
|
|
|
|
boolean b = false;
|
|
|
|
IsNaNFunction(AxInterfaceAb paramab) {
|
|
this.a = paramab;
|
|
}
|
|
|
|
public double a(CloneableImplInAxPackage paramS) {
|
|
return Double.isNaN(this.a.b(paramS)) ? 1.0D : 0.0D;
|
|
}
|
|
|
|
public double b(CloneableImplInAxPackage paramS) {
|
|
return a(paramS);
|
|
}
|
|
|
|
public String toString() {
|
|
return "isNaN( " + this.a.toString() + " )";
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/L/C.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |