Implemented the VariableAnalyzer for retrieving variables from the given class.