Public Methods | |
VariableChecker () | |
VariableChecker (final String s, final boolean isMemberVariable) | |
void | setClassName (final String className) |
String | getClassName () |
void | setPrintDebugging () |
void | remove () |
boolean | isMethodOpen () |
HashMap | returnHashMap () |
void | printArrayList () |
void | printArrayList (final ArrayList arrayList) |
void | printHashMap () |
boolean | storeIfInTempList (final String variable) |
void | addVariable (final String variable, final VariableChecker variableChecker, final boolean isMemberReference) |
void | addVariable (final String variable, final String className) |
void | addVariable (final String variable) |
void | addDeclaredVariable (final String variable, final VariableType variableType, final boolean strictOpt) |
void | addDeclaredVariable (final String variable, final int lineNumber) |
void | addDeclaredVariable (final String variable) |
void | clear () |
void | addVariables (final String className) |
void | addVariables (int lineNumber) |
void | addVariables () |
void | printDebug () |
void | print (final String fileName) |
Static Public Methods | |
boolean | isEmpty (final String s) |
void | printHashMap (final HashMap hashMap) |
String | getKeyFromEntry (final Object entry) |
VariableChecker
|
Default constructor |
|
A constructor
|
|
Add declared variable to the hashmap If the variable already is in the hashmap then do nothing
|
|
Add declared variable to the hashmap If member variable already is in the hashmap then create a new arraylist entry
|
|
Add declared variable to the hashmap If member variable already is in the hashmap then create a new arraylist entry
|
|
Add variable occurence to the hashmap
|
|
Add variable occurence to the hashmap
|
|
Add variable occurence to the hashmap
|
|
Check if the parameter string is empty. Return true if it is empty and otherwise return false
|
|
Check if there is an open method
|
|
Print member HashMap table
|
|
Print member HashMap table |
|
Print parameter's HashMap table
|
|
Print hashMap information |
|
Remove the whole variableMap from arraylist |
|
Return hashMap copy
|
|
Store variable in tempArrayList if variable exists in tempArrayList then return true
|