code: private VisibilityModifier getVisibility(int flags) {
          if (hasFlag(flags, Opcodes.ACC_PRIVATE)) {
              return VisibilityModifier.PRIVATE;
          } else if (hasFlag(flags, Opcodes.ACC_PROTECTED)) {
              return VisibilityModifier.PROTECTED;
          } else if (hasFlag(flags, Opcodes.ACC_PUBLIC)) {
              return VisibilityModifier.PUBLIC;
          } else {
              return VisibilityModifier.DEFAULT;
          }
      }
docs: Returns the AccessModifier for the flag pattern.
  
  @param flags
  the flags
  @return the AccessModifier