Definition definition = null;
if ((definition = validator.analyzerContext.getCandidateInfo().getDefinition(t))
== null)
{
// This should never happen, but if it does then throw an execption
throw new WSIException("Could not locate types element definition.");
}
else
{
TypesRegistry registry =