}
result = new SourceVariable(vb.getName(), vb, method.equals(declaredIn));
}
else if(binding instanceof ITypeBinding) {
ITypeBinding tb = (ITypeBinding) binding;
result = new TypeVariable(tb);
}
else
throw new IllegalArgumentException("Not a variable: " + binding);
variables.put(binding, result);
}