Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.obfuscator.modules
Class SerializePreserver

java.lang.Object
  extended bynet.sf.jode.obfuscator.modules.SerializePreserver
All Implemented Interfaces:
IdentifierMatcher

public class SerializePreserver
extends java.lang.Object
implements IdentifierMatcher


Constructor Summary
SerializePreserver()
           
 
Method Summary
 java.lang.String getNextComponent(Identifier ident)
          Returns the unique name of the single sub item, for which matches or matchesSub returns true.
 boolean matches(Identifier ident)
          Returns true, if the ident is matched by this matcher.
 boolean matchesSub(Identifier ident, java.lang.String name)
          Returns true, if there may be a sub ident, that is matched by this matcher.
 void setOption(java.lang.String option, java.util.Collection values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializePreserver

public SerializePreserver()
Method Detail

setOption

public void setOption(java.lang.String option,
                      java.util.Collection values)

matchesSub

public final boolean matchesSub(Identifier ident,
                                java.lang.String name)
Description copied from interface: IdentifierMatcher
Returns true, if there may be a sub ident, that is matched by this matcher.

Specified by:
matchesSub in interface IdentifierMatcher
Parameters:
name - the name of the sub ident, or null if every name is okay.

matches

public final boolean matches(Identifier ident)
Description copied from interface: IdentifierMatcher
Returns true, if the ident is matched by this matcher.

Specified by:
matches in interface IdentifierMatcher

getNextComponent

public final java.lang.String getNextComponent(Identifier ident)
Description copied from interface: IdentifierMatcher
Returns the unique name of the single sub item, for which matches or matchesSub returns true.

Specified by:
getNextComponent in interface IdentifierMatcher
Returns:
the unique name, or null, if there is not a unique sub item.

Jode 1.90-CVS
Build Aug 6, 2004

Copyright © 1998-2004 by Jochen Hoenicke.