@@ -0,0 +1,1257 @@
+package sds.decompile;%0A%0Aimport sds.assemble.BaseContent;%0Aimport sds.assemble.BaseContent.AnnotationContent;%0Aimport sds.assemble.FieldContent;%0A%0A/**%0A * This class is for decompiling contents of field.%0A * @author inagaki%0A */%0Apublic class FieldDecompiler extends AbstractDecompiler %7B%0A%09/**%0A%09 * constructor.%0A%09 * @param result decompiled source %0A%09 */%0A%09public FieldDecompiler(DecompiledResult result) %7B%0A%09%09super(result);%0A%09%7D%0A%0A%09@Override%0A%09public void decompile(BaseContent content) %7B%0A%09%09FieldContent field = (FieldContent)content;%0A%09%09AnnotationContent annotation = field.getAnnotation();%0A%09%09if(annotation != null) %7B%0A%09%09%09if(annotation.getAnnotations(true).length %3E 0) %7B%0A%09%09%09%09for(String ann : annotation.getAnnotations(true)) %7B%0A%09%09%09%09%09result.write(ann);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09if(annotation.getAnnotations(false).length %3E 0) %7B%0A%09%09%09%09for(String ann : annotation.getAnnotations(false)) %7B%0A%09%09%09%09%09result.write(ann);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09StringBuilder fieldDeclaration = new StringBuilder();%0A%09%09fieldDeclaration.append(field.getAccessFlag()).append(field.getDescriptor())%0A%09%09%09%09%09%09.append(%22 %22).append(field.getName());%0A%09%09if(field.getConstVal() != null) %7B%0A%09%09%09fieldDeclaration.append(%22 = %22).append(field.getConstVal());%0A%09%09%7D%0A%09%09fieldDeclaration.append(%22;%22);%0A%09%09result.write(fieldDeclaration.toString());%0A%09%7D%0A%7D

add class for decompiling fields.