scala.beans.BeanInfo

class BeanInfo extends Annotation

This annotation indicates that a JavaBean-compliant BeanInfo class should be generated for this annotated Scala class.

  • A val becomes a read-only property.
  • A var becomes a read-write property.
  • A def becomes a method.

  • Annotations
    • @ deprecated
  • Deprecated
    • (Since version 2.12.0) the generation of BeanInfo classes is no longer supported
  • Source

Instance Constructors From scala.beans.BeanInfo

new BeanInfo()

(defined at scala.beans.BeanInfo)

Full Source:

/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2013, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

package scala.beans

/** This annotation indicates that a JavaBean-compliant `BeanInfo` class
 *  should be generated for this annotated Scala class.
 *
 *  - A `'''val'''` becomes a read-only property.
 *  - A `'''var'''` becomes a read-write property.
 *  - A `'''def'''` becomes a method.
 *
 *  @author Ross Judson (rjudson@managedobjects.com)
 */
@deprecated(message = "the generation of BeanInfo classes is no longer supported", since = "2.12.0")
class BeanInfo extends scala.annotation.Annotation