public final class SampleCodeWriter extends Object
| Constructor and Description |
|---|
SampleCodeWriter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
write(ClassDefinition classDefinition) |
static String |
write(Expr expr) |
static String |
write(List<Statement> statements) |
static String |
write(Statement... statement) |
static String |
writeExecutableSample(Sample sample,
String packkage) |
static String |
writeInlineSample(List<Statement> statements) |
public static String write(ClassDefinition classDefinition)
Copyright © 2022 Google LLC. All rights reserved.