fSelectedName= ASTNodes.getTopMostName((Name)node); ASTNode parent= fSelectedName.getParent(); if (!(parent instanceof SimpleType)) return SearchMessages.ImplementOccurrencesFinder_invalidTarget;  ASTNode typeDeclaration= parent.getParent();
fSelectedNode= ASTNodes.getNormalizedNode(node); if (!(fSelectedNode instanceof Type)) return SearchMessages.ImplementOccurrencesFinder_invalidTarget;  ASTNode typeDeclaration= fSelectedNode.getParent();
	public String initialize(CompilationUnit root, int offset, int length) {		ASTNode node= NodeFinder.perform(root, offset, length);		if (!(node instanceof Name))			return SearchMessages.ImplementOccurrencesFinder_invalidTarget;  		fSelectedName= ASTNodes.getTopMostName((Name)node);		ASTNode parent= fSelectedName.getParent();		if (!(parent instanceof SimpleType))			return SearchMessages.ImplementOccurrencesFinder_invalidTarget;  		ASTNode typeDeclaration= parent.getParent();		if (!(typeDeclaration instanceof AbstractTypeDeclaration))			return SearchMessages.ImplementOccurrencesFinder_invalidTarget;  				fSelectedType= fSelectedName.resolveTypeBinding();		if (fSelectedType == null)			return SearchMessages.ImplementOccurrencesFinder_invalidTarget;  		fStart= typeDeclaration;		return null;	}