Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
private  boolean canPasteInImportContainer(TypedSource[] elements){
		
		return false;
	}
	
	private  boolean canPasteInType(TypedSource[] elements){
		return areAllMembers(elements);
	}
		
	private  boolean canPasteInCompilationUnit(TypedSource[] elements){
		for (int i= 0; i < elements.length; i++) {
			if (! canPasteInCompilationUnit(elements[i].getType()))
				return false;
		}
		return true;
	}
		
	private  boolean canPasteInCompilationUnit(int type){
		if (type == IJavaElement.IMPORT_CONTAINER)
			return true;
		if (type == IJavaElement.IMPORT_DECLARATION)	
			return true; 
		if (type == IJavaElement.PACKAGE_DECLARATION)		
			return true; 
		if (type == IJavaElement.TYPE)		
			return true;
		return false;	
	}