List<Definition> path)
{
List<String> result = new Vector<String>();
if (def instanceof InstanceVariableDefinition && !path.contains(def))
{
InstanceVariableDefinition var = (InstanceVariableDefinition) def;
String name = prefix + "." + var.getName();
result.add(name);
path.add(var);
if (var.type instanceof ClassType)
{
result.addAll(getLogEnabledVariables(result, name, ((ClassType) var.type).classdef, path));