public class

ClassRenamer

extends CssVisitor
java.lang.Object
   ↳ com.google.gwt.resources.css.ast.CssVisitor
     ↳ com.google.gwt.resources.css.ClassRenamer

Class Overview

Renames class selectors to their obfuscated names.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.resources.css.ast.CssVisitor
Public Constructors
ClassRenamer(TreeLogger logger, Map<StringMap<JMethod, String>> classReplacementsWithPrefix, boolean strict, Set<String> externalClasses)
Public Methods
void endVisit(CssDef x, Context ctx)
void endVisit(CssSelector x, Context ctx)
void endVisit(CssStylesheet x, Context ctx)
Map<JMethod, String> getReplacements()
Reports the replacements that were actually performed by this visitor.
[Expand]
Inherited Methods
From class com.google.gwt.resources.css.ast.CssVisitor
From class java.lang.Object

Public Constructors

public ClassRenamer (TreeLogger logger, Map<StringMap<JMethod, String>> classReplacementsWithPrefix, boolean strict, Set<String> externalClasses)

Public Methods

public void endVisit (CssDef x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssSelector x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public void endVisit (CssStylesheet x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit

public Map<JMethod, String> getReplacements ()

Reports the replacements that were actually performed by this visitor.