org.eclipse.xtext.xbase.lib
Annotation Type Pure


@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD})
@Documented
@Beta
@GwtCompatible
public @interface Pure

Whether the constructor or method causes any side-effects to non-local state. On Inlined methods this is means the compiler cannot use the resulting Java expression as a statement.

Since:
2.3
Author:
Sven Efftinge - Initial contribution and API



Copyright © 2013. All Rights Reserved.