ASTNode node= problem.getCoveredNode(compilationUnit);  if (node instanceof ClassInstanceCreation) { node= (ASTNode)node.getStructuralProperty(ClassInstanceCreation.TYPE_PROPERTY); } else if (node instanceof SimpleName) { node= node.getParent(); }  return new Java50Fix(Messages.format(FixMessages.Java50Fix_AddTypeParameters_description, ((SimpleType)node).getName()), compilationUnit, (IFixRewriteOperation[])operations.toArray(new IFixRewriteOperation[operations.size()]));
return new Java50Fix(Messages.format(FixMessages.Java50Fix_AddTypeParameters_description, node.getName()), compilationUnit, (IFixRewriteOperation[])operations.toArray(new IFixRewriteOperation[operations.size()]));
	public static Java50Fix createRawTypeReferenceFix(CompilationUnit compilationUnit, IProblemLocation problem) {		List operations= new ArrayList();		createRawTypeReferenceOperations(compilationUnit, new IProblemLocation[] {problem}, operations);		if (operations.size() == 0)			return null;				ASTNode node= problem.getCoveredNode(compilationUnit);				if (node instanceof ClassInstanceCreation) {			node= (ASTNode)node.getStructuralProperty(ClassInstanceCreation.TYPE_PROPERTY);		} else if (node instanceof SimpleName) {			node= node.getParent();		}				return new Java50Fix(Messages.format(FixMessages.Java50Fix_AddTypeParameters_description, ((SimpleType)node).getName()), compilationUnit, (IFixRewriteOperation[])operations.toArray(new IFixRewriteOperation[operations.size()]));	}