public final static String toString(int value) {
		StringBuilder builder = new StringBuilder();
		try {
			Field[] fields = AccessFlags.class.getDeclaredFields();
			for (Field field : fields) {
				if ((field.getInt(null) & value) != 0) {
					builder.append("\t" + field.getName() + "\n");
				}
			}
		}
		catch (Exception e) {
			// ignore
		}
		return builder.toString();
	}
declared synchronized. 
Note: This has no effect on execution (other than in reflection of this flag, per se).
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/android/dex/format/AccessFlags.java