Hello All
i have a Jar file , i extract it and got the class files
so i tried to edit one of these class files , using " DJ Java Decompiler " and " Javac command "
but i get an error
bp.java:45: q(java.lang.String) is already defined in a.bp public static boolean q(String s) ^ bp.java:54: cannot find symbol symbol : class cL location: class a.bp public static cL q(boolean flag, boolean flag1, boolean flag2, boolean flag3, int i, int j, int k) ^ bp.java:56: cannot find symbol symbol : class cL location: class a.bp cL cl; ^ bp.java:57: cannot find symbol symbol : class cL location: class a.bp (cl = new cL(0x401050, 1)).w = -1; ^ bp.java:60: cannot find symbol symbol : variable a location: class a.bp if(a.q()) ^ bp.java:66: incompatible types found : int required: boolean flag = i << 16 | j; ^ bp.java:72: cannot find symbol symbol : variable cy location: class a.bp private static String q = cy.q("onlina"); ^ bp.java:73: cannot find symbol symbol : variable cy location: class a.bp private static String w = cy.q("busy"); ^ bp.java:74: cannot find symbol symbol : variable cy location: class a.bp private static String e = cy.q("be right back"); ^ bp.java:75: cannot find symbol symbol : variable cy location: class a.bp private static String r = cy.q("away"); ^ bp.java:76: cannot find symbol symbol : variable cy location: class a.bp private static String t = cy.q("in a call"); ^ bp.java:77: cannot find symbol symbol : variable cy location: class a.bp private static String y = cy.q("out to lunch"); ^ bp.java:81: cannot find symbol symbol : variable cy location: class a.bp cy.q("Visible"); ^ bp.java:82: cannot find symbol symbol : variable cy location: class a.bp cy.q("Invisible"); ^ bp.java:83: cannot find symbol symbol : variable cy location: class a.bp cy.q("Ghost"); ^ 15 errors
and this is the code of class file
// Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov Date: 1/7/2012 6:18:57 AM // Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version! // Decompiler options: packimports(3) package a; // Referenced classes of package a: // a, cL, cy public final class bp { public bp() { } public static String[] q() { String as[]; (as = new String[6])[0] = q; as[1] = w; as[2] = e; as[3] = r; as[4] = t; as[5] = y; return as; } public static int q(String s) { if(s.equals(q)) return 1; if(s.equals(w)) return 2; if(s.equals(e)) return 3; if(s.equals(r)) return 4; if(s.equals(t)) return 5; return !s.equals(y) ? 0 : 6; } public static boolean q(String s) { for(int i = 0; i < 6; i++) if(s.equalsIgnoreCase(q()[i])) return true; return false; } public static cL q(boolean flag, boolean flag1, boolean flag2, boolean flag3, int i, int j, int k) { cL cl; (cl = new cL(0x401050, 1)).w = -1; cl.q = -1; cl.q(0, 0, flag); if(a.q()) { cl.q(0, 1, flag1); cl.q(0, 2, flag2); cl.q(0, 3, flag3); } flag = i << 16 | j; cl.q(0, 0, flag); cl.q(0, 1, k); return cl; } private static String q = cy.q("onlina"); private static String w = cy.q("busy"); private static String e = cy.q("be right back"); private static String r = cy.q("away"); private static String t = cy.q("in a call"); private static String y = cy.q("out to lunch"); static { cy.q("Visible"); cy.q("Invisible"); cy.q("Ghost"); } }
any help
* sorry if my English is bad