org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.filters.keywords
Class SpecialKeywordsFilter
java.lang.Object
org.apache.myfaces.buildtools.maven2.plugin.javascript.obfuscator.filters.keywords.SpecialKeywordsFilter
- All Implemented Interfaces:
- ObfuscatorFilter
public class SpecialKeywordsFilter
- extends Object
- implements ObfuscatorFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecialKeywordsFilter
public SpecialKeywordsFilter()
filter
public AnnotatedToken filter(AnnotatedToken startToken)
- Specified by:
filter
in interface ObfuscatorFilter
removeSpecialTokens
protected void removeSpecialTokens(AnnotatedToken token)
removeSpecialTypes
protected AnnotatedToken removeSpecialTypes(AnnotatedToken startToken)
- The main loop removes special types (like Profiler, and CheckPoint) and
all method invocations using variables of these types. The main
loop calls removeSpecialTokens which removes special keywords like Assert
and Logger, which were tagged by the parser as SpecialTokens
- Parameters:
startToken
-
- Returns:
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.