MCPcopy Create free account
hub / github.com/DerekYRC/mini-claude-code / TextBlock

Class TextBlock

src/main/java/org/miniclaudecode/core/TextBlock.java:6–26  ·  view source on GitHub ↗

普通文本 content block。

Source from the content-addressed store, hash-verified

4 * 普通文本 content block。
5 */
6public class TextBlock extends ContentBlock {
7
8 private String text;
9
10 public TextBlock() {
11 super("text");
12 }
13
14 public TextBlock(String text) {
15 super("text");
16 this.text = text;
17 }
18
19 public String getText() {
20 return text;
21 }
22
23 public void setText(String text) {
24 this.text = text;
25 }
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected