使用反编译工具根据生成的class文件生成的java文件
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page:
http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: ClientTest.java
package client;
import java.io.PrintStream;
import one.api.MyAPITest;
// Referenced classes of package client:
// StringUtil
public class ClientTest
{
public ClientTest()
{
}
public static void main(String args[])
{
MyAPITest sb = new MyAPITest();
int paramTwoint = Integer.parseInt("2");
int result = sb.add(Integer.parseInt("1"), paramTwoint);
System.out.println(result);
String temp = "999";
int paramTwoint = Integer.parseInt("33");
int resultone = sb.add(Integer.parseInt(temp), paramTwoint);
System.out.println(resultone);
int paramTwoint = Integer.parseInt(String.valueOf("2"));
int resulttwo = sb.add(Integer.parseInt(String.valueOf("1")), paramTwoint);
System.out.println(resulttwo);
int paramTwoint = Integer.parseInt("333");
int resultthree = sb.add(Integer.parseInt(StringUtil.createStringOne("111")), paramTwoint);
System.out.println(resultthree);
int paramTwoint = Integer.parseInt(StringUtil.createStringThree("12", "23", "34"));
int resultfour = sb.add(Integer.parseInt(StringUtil.createStringTwo("23", "34")), paramTwoint);
System.out.println(resultfour);
int paramTwoint = Integer.parseInt(StringUtil.createStringThree("12", "23", "34"));
int resultfive = sb.add(Integer.parseInt(StringUtil.createStringTwo(StringUtil.createStringOne("88"), "34")), paramTwoint);
System.out.println(resultfive);
}
public int mytest(String a, String b)
{
MyAPITest sb = new MyAPITest();
int paramTwoint = Integer.parseInt(b);
int result = sb.add(Integer.parseInt(a), paramTwoint);
return result;
}
}
回复 更多评论