class OsDetector extends AbstractDetector {
    private String arch = System.getProperty("os.arch");
    private String version = System.getProperty("os.version");

    @Override
    public String getName() {
        return "os";
    }

    @Override
    public Map<String, Object> getInfo() {<FILL_FUNCTION_BODY>}
}

        Map<String, Object> info = new LinkedHashMap<>();
        info.put("name", osName);
        info.put("arch", arch);
        info.put("version", version);
        return info;
    
<methods>public non-sealed void <init>() <variables>protected static final java.lang.String osName