diff --git a/build.xml b/build.xml
index 4630eedc3c4..d2dd340cd3f 100644
--- a/build.xml
+++ b/build.xml
@@ -395,6 +395,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -459,7 +480,7 @@
+ depends="init,prepareDist,compileGenerators,invokeGenerators,compiler,compilerSources,antTools,jdkAnnotations, annotationsExt, runtime,jslib,j2kConverter"/>
diff --git a/compiler/annotations-ext/annotations-ext.iml b/compiler/annotations-ext/annotations-ext.iml
new file mode 100644
index 00000000000..d5c07432750
--- /dev/null
+++ b/compiler/annotations-ext/annotations-ext.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/compiler/annotations-ext/src/org/jetbrains/annotations/Mutable.java b/compiler/annotations-ext/src/org/jetbrains/annotations/Mutable.java
new file mode 100644
index 00000000000..e6b85efee5e
--- /dev/null
+++ b/compiler/annotations-ext/src/org/jetbrains/annotations/Mutable.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010-2013 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.jetbrains.annotations;
+
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER})
+public @interface Mutable {
+}
diff --git a/compiler/annotations-ext/src/org/jetbrains/annotations/ReadOnly.java b/compiler/annotations-ext/src/org/jetbrains/annotations/ReadOnly.java
new file mode 100644
index 00000000000..5ea3b20ad45
--- /dev/null
+++ b/compiler/annotations-ext/src/org/jetbrains/annotations/ReadOnly.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010-2013 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.jetbrains.annotations;
+
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER})
+public @interface ReadOnly {
+}