Top Description Methods
org.eclipse.xtend.lib

public @Interface Data

extends Annotation
Annotations
@Target:TYPE
@Active:DataProcessor
@Deprecated
@Documented
@SuppressWarnings:all
Imports
java.lang.annotation.Documented, .ElementType, .Target, org.eclipse.xtend.lib.macro.Active

Deprecated

use org.eclipse.xtend.lib.annotations.Data instead

This annotation is used by the Xtend compiler. It turns an annotated class into an immutable value object. All fields become final and a getter method is added. The fields' name are prepended with an underscore (i.e. myField becomes _myField) One constructor for initializing the uninitialized fields is added. Object#equals(Object) and Object#hashCode() implementations are added. Object#toString() implementation is added.
Author
Sven Efftinge

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString