public static class EnumOrdinalizer.Tracker extends Object
Constructor and Description |
---|
Tracker() |
Modifier and Type | Method and Description |
---|---|
void |
addEnumNotOrdinalizedInfo(String enumName,
SourceInfo info) |
void |
addOrdinalized(String ordinalized) |
void |
addVisited(String visited) |
String |
getInfoString(SourceInfo info) |
int |
getNumOrdinalized() |
int |
getNumVisited() |
Set<String> |
getOrdinalizedNames() |
void |
incrementRunCount() |
boolean |
isOrdinalized(String className) |
boolean |
isVisited(String className) |
void |
logEnumsNotOrdinalized(TreeLogger logger,
TreeLogger.Type logType) |
void |
logEnumsOrdinalized(TreeLogger logger,
TreeLogger.Type logType) |
void |
logEnumsOrdinalizedPerPass(TreeLogger logger,
TreeLogger.Type logType) |
void |
logEnumsVisitedPerPass(TreeLogger logger,
TreeLogger.Type logType) |
void |
logResults(TreeLogger logger,
TreeLogger.Type logType) |
void |
logResultsDetailed(TreeLogger logger,
TreeLogger.Type logType) |
TreeLogger |
logResultsSummary(TreeLogger logger,
TreeLogger.Type logType) |
void |
maybeDumpAST(JProgram program,
int stage) |
public void addEnumNotOrdinalizedInfo(String enumName, SourceInfo info)
public void addOrdinalized(String ordinalized)
public void addVisited(String visited)
public String getInfoString(SourceInfo info)
public int getNumOrdinalized()
public int getNumVisited()
public void incrementRunCount()
public boolean isOrdinalized(String className)
public boolean isVisited(String className)
public void logEnumsNotOrdinalized(TreeLogger logger, TreeLogger.Type logType)
public void logEnumsOrdinalized(TreeLogger logger, TreeLogger.Type logType)
public void logEnumsOrdinalizedPerPass(TreeLogger logger, TreeLogger.Type logType)
public void logEnumsVisitedPerPass(TreeLogger logger, TreeLogger.Type logType)
public void logResults(TreeLogger logger, TreeLogger.Type logType)
public void logResultsDetailed(TreeLogger logger, TreeLogger.Type logType)
public TreeLogger logResultsSummary(TreeLogger logger, TreeLogger.Type logType)
public void maybeDumpAST(JProgram program, int stage)
Copyright © 2018. All rights reserved.