Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.obfuscator
Interface IdentifierMatcher

All Known Implementing Classes:
ModifierMatcher, MultiIdentifierMatcher, SerializePreserver, WildCard

public interface IdentifierMatcher


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.
 

Method Detail

matches

public boolean matches(Identifier ident)
Returns true, if the ident is matched by this matcher.


matchesSub

public boolean matchesSub(Identifier ident,
                          java.lang.String subIdent)
Returns true, if there may be a sub ident, that is matched by this matcher.

Parameters:
subIdent - the name of the sub ident, or null if every name is okay.

getNextComponent

public java.lang.String getNextComponent(Identifier ident)
Returns the unique name of the single sub item, for which matches or matchesSub returns true.

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.