node= node.getParent();
ASTNode rawReference= node.getParent(); if (isRawTypeReference(rawReference)) { operations.add(new AddTypeParametersOperation((SimpleType)rawReference)); result= (SimpleType)rawReference; } } else if (node instanceof MethodInvocation) { MethodInvocation invocation= (MethodInvocation)node;  ASTNode rawReference= getRawReference(invocation, compilationUnit); if (rawReference != null) { operations.add(new AddTypeParametersOperation((SimpleType)rawReference)); result= (SimpleType)rawReference; }
	private static void createRawTypeReferenceOperations(CompilationUnit compilationUnit, IProblemLocation[] locations, List operations) {		for (int i= 0; i < locations.length; i++) {			IProblemLocation problem= locations[i];			ASTNode node= problem.getCoveredNode(compilationUnit);						if (node instanceof ClassInstanceCreation) {				node= (ASTNode)node.getStructuralProperty(ClassInstanceCreation.TYPE_PROPERTY);			} else if (node instanceof SimpleName) {				node= node.getParent();			}						if (!(node instanceof SimpleType))				return;							ITypeBinding binding= ((SimpleType)node).resolveBinding().getTypeDeclaration();			ITypeBinding[] parameters= binding.getTypeParameters();			if (parameters.length == 0)				return;						operations.add(new AddTypeParametersOperation((SimpleType)node));		}	}