@Test public void canStart() { assertFalse(block.canStart(LineSequence.create(""))); assertFalse(block.canStart(LineSequence.create("\none"))); assertTrue(block.canStart(LineSequence.create("one"))); }
@Override public boolean canStart(LineSequence lineSequence) { Line line = lineSequence.getCurrentLine(); return line != null && !line.isEmpty(); }
ParagraphBlock extends SourceBlock { @Override public boolean canStart(LineSequence lineSequence) { Line line = lineSequence.getCurrentLine(); return line != null && !line.isEmpty(); } }
ParagraphBlock extends SourceBlock { @Override public boolean canStart(LineSequence lineSequence) { Line line = lineSequence.getCurrentLine(); return line != null && !line.isEmpty(); }  }
ParagraphBlock extends SourceBlock { @Override public boolean canStart(LineSequence lineSequence) { Line line = lineSequence.getCurrentLine(); return line != null && !line.isEmpty(); }  @Override void createContext(ProcessingContextBuilder contextBuilder, LineSequence lineSequence); @Override void process(ProcessingContext context, DocumentBuilder builder, LineSequence lineSequence); @Override boolean canStart(LineSequence lineSequence); }
ParagraphBlock extends SourceBlock { @Override public boolean canStart(LineSequence lineSequence) { Line line = lineSequence.getCurrentLine(); return line != null && !line.isEmpty(); }  @Override void createContext(ProcessingContextBuilder contextBuilder, LineSequence lineSequence); @Override void process(ProcessingContext context, DocumentBuilder builder, LineSequence lineSequence); @Override boolean canStart(LineSequence lineSequence);  }