package sword.java.class_analyzer;

public class MemberModifierMask extends ModifierMask {

    public MemberModifierMask(int mask) {
        super(mask);
    }

    public boolean isSynchronized() {
        return (mMask & 0x20) != 0;
    }

    public boolean isVolatile() {
        return (mMask & 0x40) != 0;
    }

    public boolean isTransient() {
        return (mMask & 0x80) != 0;
    }

    public boolean isNative() {
        return (mMask & 0x100) != 0;
    }

    @Override
    public String getModifiersString() {
        String result = getVisibilityString();
        if (result.length() != 0) {
            result = result + ' ';
        }

        if (isStatic()) {
            result = result + "static ";
        }

        if (isFinal()) {
            result = result + "final ";
        }

        if (isSynchronized()) {
            result = result + "synchronized ";
        }

        if (isVolatile()) {
            result = result + "volatile ";
        }

        if (isTransient()) {
            result = result + "transient ";
        }

        if (isNative()) {
            result = result + "native ";
        }

        if (isAbstract()) {
            result = result + "abstract ";
        }

        return result.substring(0, result.length() - 1);
    }
}

@@ -1213,32 +1213,124 @@
 t %22;%0A        %7D%0A%0A
+        if (result.length() == 0) %7B%0A            return result;%0A        %7D%0A        else %7B%0A    
         return r
@@ -1370,16 +1370,26 @@
 ) - 1);%0A
+        %7D%0A
     %7D%0A%7D%0A

Fix in MemberModifierMask