summaryrefslogtreecommitdiff
path: root/src/library/scala/beans/BooleanBeanProperty.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/beans/BooleanBeanProperty.scala')
-rw-r--r--src/library/scala/beans/BooleanBeanProperty.scala18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/library/scala/beans/BooleanBeanProperty.scala b/src/library/scala/beans/BooleanBeanProperty.scala
new file mode 100644
index 0000000000..2215177a80
--- /dev/null
+++ b/src/library/scala/beans/BooleanBeanProperty.scala
@@ -0,0 +1,18 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2002-2011, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+package scala.beans
+
+import meta._
+
+/** This annotation has the same functionality as
+ * `scala.beans.BeanProperty`, but the generated Bean getter will be
+ * named `isFieldName` instead of `getFieldName`.
+ */
+@field
+class BooleanBeanProperty extends annotation.StaticAnnotation