protected void warnRawType(JvmType type, JvmParameterizedTypeReference typeRef) { if (typeRef.eContainer() instanceof XInstanceOfExpression) { return; } StringBuilder message = new StringBuilder(64); message.append(type.getSimpleName()); message.append(" is a raw type. References to generic type "); message = proxyAwareUIStrings.appendTypeSignature(type, message); message.append(" should be parameterized"); warning(message.toString(), IssueCodes.RAW_TYPE, typeRef); }