private boolean isUndocumented(lombok.ast.Node block) { if (block == null) return false; if (rawInput == null) return false; lombok.ast.Position pos = block.getPosition(); if (pos.isUnplaced() || pos.size() < 3) return true; String content = rawInput.substring(pos.getStart() + 1, pos.getEnd() - 1); return content.trim().isEmpty(); } };
private boolean isUndocumented(lombok.ast.Node block) { if (block == null) return false; if (rawInput == null) return false; lombok.ast.Position pos = block.getPosition(); if (pos.isUnplaced() || pos.size() < 3) return true; String content = rawInput.substring(pos.getStart() + 1, pos.getEnd() - 1); return content.trim().isEmpty(); } };
private boolean isUndocumented(lombok.ast.Node block) { if (block == null) return false; if (rawInput == null) return false; lombok.ast.Position pos = block.getPosition(); if (pos.isUnplaced() || pos.size() < 3) return true; String content = rawInput.substring(pos.getStart() + 1, pos.getEnd() - 1); return content.trim().isEmpty(); } };
private void addSourceStructure(ListMultimap<Node, SourceStructure> map, Node node, SourceStructure structure) { if (structure.getPosition().size() > 0 && structure.getContent().trim().length() > 0 && !structure.getPosition().equals(node.getPosition())) { map.put(node, structure); } }
private void addSourceStructure(ListMultimap<Node, SourceStructure> map, Node node, SourceStructure structure) { if (structure.getPosition().size() > 0 && structure.getContent().trim().length() > 0 && !structure.getPosition().equals(node.getPosition())) { map.put(node, structure); } }
private void addSourceStructure(ListMultimap<Node, SourceStructure> map, Node node, SourceStructure structure) { if (structure.getPosition().size() > 0 && structure.getContent().trim().length() > 0 && !structure.getPosition().equals(node.getPosition())) { map.put(node, structure); } }