Instructions getMakeHeader() { if (make == null) { make = new Instructions(); builder.getMergedParameters(Constants.MAKE) .forEach((k, v) -> make.put(Instruction.legacy(k), v)); } return make; } }
Instructions getMakeHeader() { if (make == null) { make = new Instructions(); builder.getMergedParameters(Constants.MAKE) .forEach((k, v) -> make.put(Instruction.legacy(k), v)); } return make; } }
/** * Move errors and warnings to their proper place by scanning the fixup * messages property. */ private void fixupMessages() { if (fixupMessages) return; fixupMessages = true; Parameters fixup = getMergedParameters(Constants.FIXUPMESSAGES); if (fixup.isEmpty()) return; Instructions instrs = new Instructions(); fixup.forEach((k, v) -> instrs.put(Instruction.legacy(k), v)); doFixup(instrs, errors, warnings, FIXUPMESSAGES_IS_ERROR); doFixup(instrs, warnings, errors, FIXUPMESSAGES_IS_WARNING); }
/** * Move errors and warnings to their proper place by scanning the fixup * messages property. */ private void fixupMessages() { if (fixupMessages) return; fixupMessages = true; Parameters fixup = getMergedParameters(Constants.FIXUPMESSAGES); if (fixup.isEmpty()) return; Instructions instrs = new Instructions(); fixup.forEach((k, v) -> instrs.put(Instruction.legacy(k), v)); doFixup(instrs, errors, warnings, FIXUPMESSAGES_IS_ERROR); doFixup(instrs, warnings, errors, FIXUPMESSAGES_IS_WARNING); }