final ASTNode declarations= getDeclarationNode();
final ASTNode node= getDeclarationNode();
	protected final ASTRewrite getRewrite() throws CoreException {		final ASTNode declarations= getDeclarationNode();		final AST ast= declarations.getAST();		final ASTRewrite rewrite= ASTRewrite.create(ast);		final VariableDeclarationFragment fragment= ast.newVariableDeclarationFragment();		fragment.setName(ast.newSimpleName(NAME_FIELD));		final FieldDeclaration declaration= ast.newFieldDeclaration(fragment);		declaration.setType(ast.newPrimitiveType(PrimitiveType.LONG));		declaration.modifiers().addAll(ASTNodeFactory.newModifiers(ast, Modifier.PRIVATE | Modifier.STATIC | Modifier.FINAL));		addInitializer(fragment);		if (fragment.getInitializer() != null) {			final ChildListPropertyDescriptor descriptor= (declarations.getNodeType() == ASTNode.ANONYMOUS_CLASS_DECLARATION) ? AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY : TypeDeclaration.BODY_DECLARATIONS_PROPERTY;			rewrite.getListRewrite(declarations, descriptor).insertAt(declaration, 0, null);			addLinkedPositions(rewrite, fragment);		}		final String comment= CodeGeneration.getFieldComment(getCompilationUnit(), declaration.getType().toString(), NAME_FIELD, StubUtility.getLineDelimiterUsed(getCompilationUnit()));		if (comment != null && comment.length() > 0) {			final Javadoc doc= (Javadoc) rewrite.createStringPlaceholder(comment, ASTNode.JAVADOC);			declaration.setJavadoc(doc);		}		return rewrite;	}