diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-08-29 21:58:12 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-08-29 21:58:12 +0400 |
commit | f5431c3bb14854025dc1f0ec470b77497f79494c (patch) | |
tree | 909c1c06492d849fa062a60c56a02dd26e7095b6 /src/org/jetbrains/java/decompiler/main/ClassWriter.java | |
parent | 63b8d35d08a198215ddabb42cca5b0e823232768 (diff) | |
download | fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar.gz fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar.lz fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar.xz fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.zip |
java-decompiler: post-import cleanup (common fixes and optimizations)
Diffstat (limited to 'src/org/jetbrains/java/decompiler/main/ClassWriter.java')
-rw-r--r-- | src/org/jetbrains/java/decompiler/main/ClassWriter.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/jetbrains/java/decompiler/main/ClassWriter.java b/src/org/jetbrains/java/decompiler/main/ClassWriter.java index 7808b26..d16c203 100644 --- a/src/org/jetbrains/java/decompiler/main/ClassWriter.java +++ b/src/org/jetbrains/java/decompiler/main/ClassWriter.java @@ -1046,7 +1046,7 @@ public class ClassWriter { return !hidemethod; } - private List<AnnotationExprent> getAllAnnotations(VBStyleCollection<StructGeneralAttribute, String> attributes) { + private static List<AnnotationExprent> getAllAnnotations(VBStyleCollection<StructGeneralAttribute, String> attributes) { String[] annattrnames = new String[]{StructGeneralAttribute.ATTRIBUTE_RUNTIME_VISIBLE_ANNOTATIONS, StructGeneralAttribute.ATTRIBUTE_RUNTIME_INVISIBLE_ANNOTATIONS}; @@ -1063,7 +1063,7 @@ public class ClassWriter { return lst; } - private List<List<AnnotationExprent>> getAllParameterAnnotations(VBStyleCollection<StructGeneralAttribute, String> attributes) { + private static List<List<AnnotationExprent>> getAllParameterAnnotations(VBStyleCollection<StructGeneralAttribute, String> attributes) { String[] annattrnames = new String[]{StructGeneralAttribute.ATTRIBUTE_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, StructGeneralAttribute.ATTRIBUTE_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS}; @@ -1095,7 +1095,7 @@ public class ClassWriter { return ret; } - private String getDescriptorPrintOut(String descriptor, int element) { + private static String getDescriptorPrintOut(String descriptor, int element) { switch (element) { case 0: // class @@ -1125,7 +1125,7 @@ public class ClassWriter { } } - private String getTypePrintOut(VarType type) { + private static String getTypePrintOut(VarType type) { String strtype = ExprProcessor.getCastTypeName(type, false); if (ExprProcessor.UNDEFINED_TYPE_STRING.equals(strtype) && DecompilerContext.getOption(IFernflowerPreferences.UNDEFINED_PARAM_TYPE_OBJECT)) { |