Xtend User Guide
- Introduction
- Getting Started
- Hello World
- The Runtime Library
- The Xtend Tutorial
- Maven Support
- Types
- Conformance and Conversion
- Classes and Members
- Package Declaration
- Imports
- Class Declaration
- Constructors
- Fields
- Methods
- Overriding Methods
- Declared Exceptions
- Inferred Return Types
- Dispatch Methods
- Dispatch Methods and Inheritance
- Static Dispatch Methods
- Annotations
- Extension Methods
- Local Extension Methods
- Library Extensions
- Extension Imports
- Extension Fields
- Expressions
- Literals
- String Literals
- Integer Literals
- Boolean Literals
- Null Literal
- Type Literals
- Function Types
- Type Casts
- Infix Operators and Operator Overloading
- Short-Circuit Boolean Operators
- Examples
- Assignments
- Variable Declarations
- Typing
- Feature Calls
- Property Access
- Implicit Variables this and it
- Null-Safe Feature Call
- Constructor Call
- Closures
- Typing
- Function Mapping
- Implicit Parameter it
- Exceptions in Closures
- Builder Syntax
- If Expression
- Switch Expression
- Type guards
- Blocks
- For Loop
- While Loop
- Do-While Loop
- Return Expression
- Throwing Exceptions
- Try, Catch, Finally
- Template Expressions
- Conditions in Templates
- Loops in Templates
- Typing
- White Space Handling