public class JavaLiteral extends BaseStaticJavaWidget
Literals will appear correctly indented, but are otherwise unprocessed (eg. no semicolon, no braces). Useful for generating comment tags or annotations.
| Constructor and Description |
|---|
JavaLiteral(String textContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(Writer writer) |
getImports, getTextContent, putImportgetChildren, getClientProperty, getParent, putClientProperty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, getClientProperty, putClientPropertypublic JavaLiteral(String textContent)
public void write(Writer writer) throws IOException
write in interface StaticWidgetwrite in class BaseStaticJavaWidgetIOExceptionCopyright © 2015. All Rights Reserved.