Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.obfuscator.modules
Class WildCard

java.lang.Object
  extended bynet.sf.jode.obfuscator.modules.WildCard
All Implemented Interfaces:
IdentifierMatcher, OptionHandler

public class WildCard
extends java.lang.Object
implements IdentifierMatcher, OptionHandler


Constructor Summary
WildCard()
           
WildCard(java.lang.String wild)
           
 
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 subident)
          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)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WildCard

public WildCard()

WildCard

public WildCard(java.lang.String wild)
Method Detail

setOption

public void setOption(java.lang.String option,
                      java.util.Collection values)
Specified by:
setOption in interface OptionHandler

getNextComponent

public 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.

matchesSub

public boolean matchesSub(Identifier ident,
                          java.lang.String subident)
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:
subident - the name of the sub ident, or null if every name is okay.

matches

public 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

toString

public java.lang.String toString()

Jode 1.90-CVS
Build Aug 6, 2004

Copyright © 1998-2004 by Jochen Hoenicke.