Why does DJ v3.7.7.81 generate weird-looking static fields like class$exercise$MyClass and static me

B

Bruce .J Sam

I have use DJ v3.7.7.81 to decompile MyClass.class and
MyClass$1.class. The result is so werid-looking. How can I do if I want
to recompile the decomplied class?

//MyClass.class decompile result.
//Decompiler options: packimports(3) noinners
package exercise;

public interface MyClass
{

public abstract void perform();

public static final String CONTROL_TYPE =
(MyClass$1.class$exercise$MyClass != null ?
MyClass$1.class$exercise$MyClass : (MyClass$1.class$exercise$MyClass =
MyClass$1._mthclass$("exercise.MyClass"))).getName();

}

//MyClass$1.class decompile result.
//Decompiler options: packimports(3) noinners

package exercise;

class MyClass$1
{

static Class _mthclass$(String s)
{
try
{
return Class.forName(s);
}
catch(ClassNotFoundException classnotfoundexception)
{
throw new
NoClassDefFoundError(classnotfoundexception.getMessage());
}
}

static Class class$exercise$MyClass; /* synthetic field */
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top