# File lib/puppet/parser/ast/resource_reference.rb, line 55
55:         def qualified_type(scope, title = nil)
56:             # We want a lower-case type.  For some reason.
57:             objtype = @type.downcase
58:             unless builtintype?(objtype)
59:                 if dtype = scope.find_definition(objtype)
60:                     objtype = dtype.classname
61:                 else
62:                     raise Puppet::ParseError, "Could not find resource type %s" % objtype
63:                 end
64:             end
65:             return objtype
66:         end