public abstract class OptimizingVisitor extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<Class> |
affectedClasses |
protected boolean[] |
fieldFlags |
protected boolean |
hasdescend |
protected boolean |
haspost |
protected boolean |
haspre |
static String |
METHODNAME_allFields2codeNumber |
Modifier | Constructor and Description |
---|---|
protected |
OptimizingVisitor() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
allFields2codeNumber() |
protected void |
calculateFlags(Class ownclass,
Set<Class> overwritten) |
protected void |
collectFlags_action() |
protected void |
collectFlags_actionDorewrite() |
protected void |
collectFlags_actionPreDescendPost() |
protected void |
collectFlags_actionRewritefields() |
protected void |
collectFlags()
Re-defined in the generated code according to the flavour of visitor.
|
protected static void |
collectMethods(Class cls,
Class upto,
Set<Class> classes,
String methodname)
Looks for all methods with name "methodname" in class "cls",
and inserts the class of their 0th (and only) argument into classes.
|
protected abstract Map<Integer,? extends Multimap<Class,Integer>> |
get_class2reachedSccs()
Overwritten at one single place, namely in basematcher.
|
protected abstract Map<Integer,? extends Map<Class,Integer>> |
get_class2scc()
Overwritten at one single place, namely in basematcher.
|
protected abstract Map<Integer,? extends Multimap<String,Integer>> |
get_field2sccs()
Overwritten at one single place, namely in basematcher.
|
protected int |
getKey()
Overwritten with generated code to return visitor register key number.
|
protected Class |
getLowestGeneratedClass()
Is overwritten by the umod compiler to the lowest generated class.
|
protected boolean haspre
protected boolean haspost
protected boolean hasdescend
public static final String METHODNAME_allFields2codeNumber
protected boolean[] fieldFlags
protected Class getLowestGeneratedClass()
protected int getKey()
protected String[] allFields2codeNumber()
protected abstract Map<Integer,? extends Map<Class,Integer>> get_class2scc()
protected abstract Map<Integer,? extends Multimap<String,Integer>> get_field2sccs()
protected abstract Map<Integer,? extends Multimap<Class,Integer>> get_class2reachedSccs()
protected void collectFlags()
protected void collectFlags_action()
protected void collectFlags_actionRewritefields()
protected void collectFlags_actionDorewrite()
protected void collectFlags_actionPreDescendPost()
protected static void collectMethods(Class cls, Class upto, Set<Class> classes, String methodname)
see also the complete user documentation .