Top Description Methods
org.eclipse.xtend.lib.annotations

public @Interface FinalFieldsConstructor

extends Annotation
Annotations
@Target:TYPE, CONSTRUCTOR
@GwtCompatible
@Beta
@Active:FinalFieldsConstructorProcessor
@Documented
@SuppressWarnings:all
Imports
com.google.common.annotations.Beta, .GwtCompatible, java.lang.annotation.Documented, .ElementType, .Target, org.eclipse.xtend.lib.macro.Active

Creates a constructor that takes a parameter for each final field of a class.

Annotated on a class

Creates a constructor that takes all non-static, final fields of the class as an argument and assigns them to their corresponding fields. The order of arguments is the same as the order of the fields.

Annotated on a constructor

Turns that constructor into a final fields constructor as described above. This is useful for adding annotations to the constructor, e.g. for dependency injection frameworks.

Since
2.7

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString