Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.obfuscator
Class PackageIdentifier

java.lang.Object
  extended bynet.sf.jode.obfuscator.Identifier
      extended bynet.sf.jode.obfuscator.PackageIdentifier

public class PackageIdentifier
extends Identifier


Constructor Summary
PackageIdentifier(ClassBundle bundle, PackageIdentifier parent, java.lang.String fullName, java.lang.String name)
           
 
Method Summary
 void applyPreserveRule(IdentifierMatcher preserveRule)
           
 void buildTable(Renamer renameRule)
           
 boolean conflicting(java.lang.String newAlias)
           
 boolean contains(java.lang.String newAlias, Identifier except)
           
 void doTransformations()
           
 java.lang.String findAlias(java.lang.String className)
           
 java.util.Iterator getChilds()
           
 java.lang.String getFullAlias()
           
 java.lang.String getFullName()
           
 Identifier getIdentifier(java.lang.String name)
           
 java.lang.String getName()
           
 Identifier getParent()
           
 java.lang.String getType()
           
 void initialize()
           
 void loadMatchingClasses(IdentifierMatcher matcher)
           
 void readTable(java.util.Map table)
           
 void setLoadOnDemand()
           
protected  void setSinglePreserved()
          Marks the parent package as preserved, too.
 void storeClasses(java.io.File destination)
           
 void storeClasses(java.util.zip.ZipOutputStream zip)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jode.obfuscator.Identifier
addShadow, analyze, getAlias, getRepresentative, isPreserved, isReachable, isRepresentative, setAlias, setPreserved, setReachable, setSingleReachable, wasAliased, writeTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageIdentifier

public PackageIdentifier(ClassBundle bundle,
                         PackageIdentifier parent,
                         java.lang.String fullName,
                         java.lang.String name)
Method Detail

setSinglePreserved

protected void setSinglePreserved()
Marks the parent package as preserved, too.

Overrides:
setSinglePreserved in class Identifier

setLoadOnDemand

public void setLoadOnDemand()

loadMatchingClasses

public void loadMatchingClasses(IdentifierMatcher matcher)

initialize

public void initialize()

getIdentifier

public Identifier getIdentifier(java.lang.String name)

applyPreserveRule

public void applyPreserveRule(IdentifierMatcher preserveRule)
Overrides:
applyPreserveRule in class Identifier

getFullName

public java.lang.String getFullName()
Specified by:
getFullName in class Identifier
Returns:
the full qualified name.

getFullAlias

public java.lang.String getFullAlias()
Specified by:
getFullAlias in class Identifier
Returns:
the full qualified alias.

findAlias

public java.lang.String findAlias(java.lang.String className)

buildTable

public void buildTable(Renamer renameRule)
Overrides:
buildTable in class Identifier

doTransformations

public void doTransformations()

readTable

public void readTable(java.util.Map table)
Overrides:
readTable in class Identifier

getParent

public Identifier getParent()
Specified by:
getParent in class Identifier

getName

public java.lang.String getName()
Specified by:
getName in class Identifier

getType

public java.lang.String getType()
Specified by:
getType in class Identifier

getChilds

public java.util.Iterator getChilds()
Specified by:
getChilds in class Identifier

storeClasses

public void storeClasses(java.util.zip.ZipOutputStream zip)

storeClasses

public void storeClasses(java.io.File destination)

toString

public java.lang.String toString()

contains

public boolean contains(java.lang.String newAlias,
                        Identifier except)

conflicting

public boolean conflicting(java.lang.String newAlias)
Specified by:
conflicting in class Identifier

Jode 1.90-CVS
Build Aug 6, 2004

Copyright © 1998-2004 by Jochen Hoenicke.