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, putImport
getChildren, getClientProperty, getParent, putClientProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getClientProperty, putClientProperty
public JavaLiteral(String textContent)
public void write(Writer writer) throws IOException
write
in interface StaticWidget
write
in class BaseStaticJavaWidget
IOException
Copyright © 2015. All Rights Reserved.