private void handleUnresolvedType ( ErrorReporter reporter , boolean ignoreForwardReferencedTypes ) { boolean isForwardDeclared = ignoreForwardReferencedTypes && registry . isForwardDeclaredType ( reference ) ; if ( ! isForwardDeclared ) { String msg = "Bad type annotation. Unknown type " + reference ; warning ( reporter , msg ) ; } else { setReferencedType ( new NoResolvedType ( registry , getReferenceName ( ) , getTemplateTypes ( ) ) ) ; if ( validator != null ) { validator . apply ( getReferencedType ( ) ) ; } } setResolvedTypeInternal ( getReferencedType ( ) ) ; }
type name .