SandMark version 2.0


sandmark.obfuscate.methodrearranger
Class Movable

java.lang.Object
  |
  +--sandmark.obfuscate.methodrearranger.Movable

public class Movable
extends java.lang.Object

This class contains one helper method that can check to see if a static method can be moved from its class, i.e. if it is a public method, or if it makes no references to any private, protected, or package fields or methods or inner classes.


Constructor Summary
Movable(java.util.ArrayList classes, EDU.purdue.cs.bloat.editor.EditorContext context)
           
 
Method Summary
 boolean isMovable(EDU.purdue.cs.bloat.reflect.MethodInfo methodToMove, EDU.purdue.cs.bloat.editor.MethodEditor methodEditor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Movable

public Movable(java.util.ArrayList classes,
               EDU.purdue.cs.bloat.editor.EditorContext context)
        throws java.io.IOException
Method Detail

isMovable

public boolean isMovable(EDU.purdue.cs.bloat.reflect.MethodInfo methodToMove,
                         EDU.purdue.cs.bloat.editor.MethodEditor methodEditor)

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002