public abstract class AbstractCssResourceGenerator extends AbstractResourceGenerator
STRIP_COMMENTS
Constructor and Description |
---|
AbstractCssResourceGenerator() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getCssExpression(TreeLogger logger,
ResourceContext context,
JMethod method)
Returns the java expression that contains the compiled CSS.
|
protected boolean |
isReturnTypeString(JClassType classReturnType) |
protected void |
writeEnsureInjected(com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
writeGetName(JMethod method,
com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
writeGetText(TreeLogger logger,
ResourceContext context,
JMethod method,
com.google.gwt.user.rebind.SourceWriter sw) |
protected void |
writeSimpleGetter(JMethod methodToImplement,
String toReturn,
com.google.gwt.user.rebind.SourceWriter sw) |
createAssignment, createFields, finish, init, prepare
protected abstract String getCssExpression(TreeLogger logger, ResourceContext context, JMethod method) throws UnableToCompleteException
UnableToCompleteException
protected boolean isReturnTypeString(JClassType classReturnType)
protected void writeEnsureInjected(com.google.gwt.user.rebind.SourceWriter sw)
protected void writeGetName(JMethod method, com.google.gwt.user.rebind.SourceWriter sw)
protected void writeGetText(TreeLogger logger, ResourceContext context, JMethod method, com.google.gwt.user.rebind.SourceWriter sw) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.