TypeKind tk = type.getKind(); if (tk == TypeKind.ERROR) { inType = (Type)info.getTrees().getOriginalType((ErrorType)type); } else if (tk == TypeKind.NONE || tk == TypeKind.OTHER) { return types.createErrorType(inType);
TypeKind tk = type.getKind(); if (tk == TypeKind.ERROR) { inType = (Type)info.getTrees().getOriginalType((ErrorType)type); } else if (tk == TypeKind.NONE || tk == TypeKind.OTHER) { return types.createErrorType(inType);