This version of addMethod is called whenever the method corresponds to one that is auto-generated
(toString, equals, hashCode, etc.) and is necessary because we need to check if the user defined
a method with the same signature and, if so, highlight the user method instead of trying to highlight
the auto-generated method (which doesn't appear in the raw version of the source anyway).
Takes in a TypeDefBase (which is either an InnerClassDef or an InnerInterfaceDef) and creates a SymbolData for it,
either by converting a continuation to it or by creating a new symbol (if no continuationis present).
Given a TypeDefBase (which is either a ClassDef or an InterfaceDef) and the corresponding qualifiedTypeName, this
method generates a SymbolData, and adds the name and SymbolData pair to the symbol table.
This is a high-level test to make sure that taking an Elementary Level file from
source file to augmented file has the correct behavior, does not throw errors when
it should not, throws errors when it should, and results in the correct augmented code.
Makes sure that the initializedvariable declarator is correct (the types match)
Also, add the Variable Data corresponding to this initializiation to the _vars list, so
that it can be referenced within this scope.