|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.obfuscate.loop.ApplicationObject
An ApplicationObject is any "thingie" that can be obfuscated by a sandmark obfuscation. Methods, classes, and whole applications are examples of what is represented by an ApplicationObject.
Nested Class Summary | |
protected class |
ApplicationObject.StatisticalInfo
|
Field Summary | |
protected java.util.ArrayList |
currStats
|
protected float |
obfLevelRemaining
|
Constructor Summary | |
ApplicationObject()
|
|
ApplicationObject(Stats stats)
|
Method Summary | |
void |
addAlgorithm(Algorithm candidate)
Adds an algorithm to the pool of candidates for this object. |
void |
addSubObject(ApplicationObject sub)
Specifies that another ApplicationObject is a subobject of this ApplicationObject. |
int |
compareTo(java.lang.Object other)
Compares two ApplicationObjects by their natrual ordering. |
protected java.util.ArrayList |
computeStats(Stats stats)
|
(package private) java.util.ArrayList |
getCandidates()
Gets the list of algorithms that could still be run on this object. |
java.lang.String |
getKey()
|
float |
getObfLevelRemaining()
|
(package private) java.util.ArrayList |
getRequiredProperties()
Gets the list of properties that need to be run on this object. |
(package private) java.util.ArrayList |
getRunProperties()
Gets the list of properties that have been run on this object. |
(package private) java.util.ArrayList |
getSuggestedProperties()
Gets the list of properties that should to be run on this object. |
boolean |
isDone()
Determines whether or not this ApplicationObject has been obfuscated enough. |
boolean |
isSubobjectOf(ApplicationObject sub)
|
boolean |
isTargetOf(Algorithm alg)
Returns true if the algorithm can be applied to this type of application object. |
void |
runAlgorithm(Algorithm candidate,
ClassFileCollection cfc)
|
void |
runAlgorithm(Algorithm candidate,
ClassFileCollection cfc,
DependencyMap map)
|
protected boolean |
runIt(Algorithm candidate,
ClassFileCollection cfc)
|
void |
setObfLevelRemaining(float i)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected float obfLevelRemaining
protected java.util.ArrayList currStats
Constructor Detail |
public ApplicationObject()
public ApplicationObject(Stats stats)
Method Detail |
protected java.util.ArrayList computeStats(Stats stats)
protected boolean runIt(Algorithm candidate, ClassFileCollection cfc)
public void runAlgorithm(Algorithm candidate, ClassFileCollection cfc, DependencyMap map)
public void runAlgorithm(Algorithm candidate, ClassFileCollection cfc)
public float getObfLevelRemaining()
public void setObfLevelRemaining(float i)
public void addAlgorithm(Algorithm candidate)
candidate
- the algorithm to add to the poolpublic void addSubObject(ApplicationObject sub)
sub
- the object which is a subobject to thispublic boolean isSubobjectOf(ApplicationObject sub)
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
other
- the ApplicationObject to compare to
public boolean isDone()
java.util.ArrayList getCandidates()
java.util.ArrayList getRunProperties()
java.util.ArrayList getRequiredProperties()
java.util.ArrayList getSuggestedProperties()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getKey()
public boolean isTargetOf(Algorithm alg)
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |