if (container instanceof ICompilationUnit)  return ASTRewrite.TYPE_DECLARATION;  if (container instanceof IType) return ASTRewrite.METHOD_DECLARATION;
if (element instanceof DocumentRangeNode) { JavaNode jn= (JavaNode) element; switch (jn.getTypeCode()) {  case JavaNode.CLASS: case JavaNode.INTERFACE: return ASTRewrite.TYPE_DECLARATION;  case JavaNode.CONSTRUCTOR: case JavaNode.METHOD: return ASTRewrite.METHOD_DECLARATION;  case JavaNode.FIELD: return ASTRewrite.FIELD_DECLARATION;  case JavaNode.INIT: return ASTRewrite.INITIALIZER;  default: break; } }
	private int getPlaceHolderType(IParent container, String content) {				if (container instanceof ICompilationUnit)			// since we cannot deal with import statements, the only place holder type is a TYPE_DECLARATION			return ASTRewrite.TYPE_DECLARATION;					if (container instanceof IType)			return ASTRewrite.METHOD_DECLARATION;					// cannot happen		Assert.isTrue(false);		return ASTRewrite.UNKNOWN;	}