try
{
if (node instanceof TypeProvider)
{
TypeProvider typeProvider = (TypeProvider) node;
DependencyItem item = new ClassContextDependencyItem(
context.getName(),
typeProvider.getType(visitor, this),
visitor.getContextState(),
dependentState);
visitor.addDependency(item);