|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Beta @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Inline
Allows to describe how a certain static function should be inlined by the Xbase compiler.
Required Element Summary | |
---|---|
java.lang.String |
value
The inline format string. |
Optional Element Summary | |
---|---|
java.lang.Class<?>[] |
imported
Types that should be imported to inline the operation. |
boolean |
statementExpression
whether the inlined expression is a statement expression (see 14.8 - Statement Expressions in Java Language Specification, Third Edition ) |
Element Detail |
---|
public abstract java.lang.String value
$1, $2
etc can be used where the 1..n
parameters of
the inlined method are used for $1
to $n
and the imported()
types are used for
subsequent indices. The last index $n
can be used to insert the type parameters of the original
declaration.
public abstract java.lang.Class<?>[] imported
public abstract boolean statementExpression
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |