Hi. I keep getting hit with all these "cannot find symbol" issues: Basically I know where the variable "name" is; it's defined in the StringStatement and IntegerStatement classes (in the Directive interface). I'm trying to pass the "name" variable, which appears in different classes, to this method in the class TPLVariables which is supposed to populate the HashMap variables:
However if I try to use that method to print the value of the variable inside any of the *Statement classes e.g. StringStatement, I get
"error: cannot find symbol: System.out.println(TPLVariable.getVariable(name))"... Is this a scope issue? Also I'm not sure why but the program seems to think that variablesHash is a variable when it's a HashMap-- and it can't find that either. I'm getting 18 errors on compile (down from a whopping 28, huzzah!) and it's all from these two things. What's wrong and how do I get it fixed?