| java.lang.Object net.sf.javaguard.TreeItem net.sf.javaguard.PkCl net.sf.javaguard.Cl
All known Subclasses: net.sf.javaguard.PlaceholderCl,
Inner Class :class ExtNameListUp implements NameListUp | |
Constructor Summary | |
public | Cl(TreeItem parent, boolean isInnerClass, String name, String superClass, String[] superInterfaces) Creates a new class element. |
Method Summary | |
public Cl | addClass(String name, String superName, String[] interfaceNames) Add an inner class. | public Cl | addClass(Cl cl) Add an inner class, used when copying inner classes from a placeholder. | public Fd | addField(boolean isSynthetic, String name, String descriptor, int access) Add a field. | public Md | addMethod(boolean isSynthetic, String name, String descriptor, int access) Add a method. | public Cl | addPlaceholderClass(String name) Add a placeholder class. | public Fd | getField(String name) Get a field by name. | public Iterator | getFieldIterator() Get an iterator for all available fields. | public String | getFieldObfNameDown(Cl caller, String name) | public String | getFieldObfNameUp(String name) Get obfuscated field name from list, or null if no mapping exists. | public String | getFieldOutNameUp(String name) Get output field name from list, or null if no mapping exists. | public Md | getMethod(String name, String descriptor) Get a method by name. | public Iterator | getMethodIterator() Get an iterator for all available methods. | public String | getMethodObfNameDown(Cl caller, String name, String descriptor) | public String | getMethodObfNameUp(String name, String descriptor) Get obfuscated method name from list, or null if no mapping exists. | public String | getMethodOutNameUp(String name, String descriptor) Get output method name from list, or null if no mapping exists. | public String[] | getSuperInterfaces() Return the list of implemented interfaces. | public String | getSuperclass() Return the name of the super class of the current element. | public boolean | hasAsSuper(String queryName) | public boolean | isBeingObfuscated() Check whether the class is assigned a new class or package name during
the obfuscation. | public boolean | isInnerClass() | public boolean | isRemoteClass() Returns whether the class implements java.rmi.Remote and the obfuscator
respects such classes. | public boolean | isSerializable() Returns whether the class implements java.io.Serializable and the
obfuscator respects serializable fields and methods. | public void | resetResolve() Prepare for resolve of a class entry by resetting flags. | public void | resolveOptimally() Resolve a class entry - set obfuscation permissions based on super class and interfaces. | public void | setRemoteClass(boolean rmic) Sets whether the class implements the Remote interface. | public void | setSerializable(boolean serializable) Sets whether the class implements the Serializable interface. | public void | setupNameListDowns() Set up reverse list of reserved names prior to resolving classes. |
nameSpace | public static int nameSpace(Code) | | |
Cl | public Cl(TreeItem parent, boolean isInnerClass, String name, String superClass, String[] superInterfaces)(Code) | | Creates a new class element.
Parameters: parent - the parent element of the class Parameters: isInnerClass - true if the class element specifies an inner class;false else Parameters: name - the name of the class Parameters: superClass - the name of the super class Parameters: superInterfaces - an array containing the directly implementedinterfaces |
addClass | public Cl addClass(Cl cl)(Code) | | Add an inner class, used when copying inner classes from a placeholder.
|
addField | public Fd addField(boolean isSynthetic, String name, String descriptor, int access)(Code) | | Add a field.
|
addMethod | public Md addMethod(boolean isSynthetic, String name, String descriptor, int access)(Code) | | Add a method.
|
addPlaceholderClass | public Cl addPlaceholderClass(String name)(Code) | | Add a placeholder class.
|
getFieldIterator | public Iterator getFieldIterator()(Code) | | Get an iterator for all available fields.
iterator for the fields |
getFieldObfNameDown | public String getFieldObfNameDown(Cl caller, String name)(Code) | | Is the field reserved because of its reservation down the class hierarchy?
|
getFieldObfNameUp | public String getFieldObfNameUp(String name)(Code) | | Get obfuscated field name from list, or null if no mapping exists.
|
getFieldOutNameUp | public String getFieldOutNameUp(String name)(Code) | | Get output field name from list, or null if no mapping exists.
|
getMethodIterator | public Iterator getMethodIterator()(Code) | | Get an iterator for all available methods.
iterator for the methods |
getMethodObfNameDown | public String getMethodObfNameDown(Cl caller, String name, String descriptor)(Code) | | Is the method reserved because of its reservation down the class hierarchy?
|
getMethodObfNameUp | public String getMethodObfNameUp(String name, String descriptor)(Code) | | Get obfuscated method name from list, or null if no mapping exists.
|
getMethodOutNameUp | public String getMethodOutNameUp(String name, String descriptor)(Code) | | Get output method name from list, or null if no mapping exists.
|
getSuperInterfaces | public String[] getSuperInterfaces()(Code) | | Return the list of implemented interfaces.
array with implemented super interfaces |
getSuperclass | public String getSuperclass()(Code) | | Return the name of the super class of the current element.
name of the super class |
hasAsSuper | public boolean hasAsSuper(String queryName)(Code) | | Does this class have the specified class in its super chain?
|
isBeingObfuscated | public boolean isBeingObfuscated()(Code) | | Check whether the class is assigned a new class or package name during
the obfuscation.
true if the class name or the package name is changed; false else |
isInnerClass | public boolean isInnerClass()(Code) | | Is this an inner class?
|
isRemoteClass | public boolean isRemoteClass()(Code) | | Returns whether the class implements java.rmi.Remote and the obfuscator
respects such classes.
true if the class implements java.rmi.Remote; false else See Also: Cl.setRemoteClass |
isSerializable | public boolean isSerializable()(Code) | | Returns whether the class implements java.io.Serializable and the
obfuscator respects serializable fields and methods.
true if the class implements java.io.Serializable; false else See Also: Cl.setSerializable |
resetResolve | public void resetResolve()(Code) | | Prepare for resolve of a class entry by resetting flags.
|
resolveOptimally | public void resolveOptimally()(Code) | | Resolve a class entry - set obfuscation permissions based on super class and interfaces.
Overload method and field names maximally.
|
setRemoteClass | public void setRemoteClass(boolean rmic)(Code) | | Sets whether the class implements the Remote interface.
Parameters: rmic - true if the class implements java.rmi.Remote; false else See Also: Cl.isRemoteClass |
setSerializable | public void setSerializable(boolean serializable)(Code) | | Sets whether the class implements the Serializable interface.
Parameters: serializable - true if the class implements java.io.Serializable;false else See Also: Cl.isSerializable |
setupNameListDowns | public void setupNameListDowns()(Code) | | Set up reverse list of reserved names prior to resolving classes.
|
|
|