Xtend Language Reference
- Introduction
- Getting Started
- Classes and Functions
- Package Declaration
- Imports
- Class Declaration
- Inheritance
- Generics
- Examples
- Fields
- Extension Methods
- Functions
- Visibility
- Overriding Functions
- Declared Exceptions
- Inferred Return Types
- Generics
- Dispatch Functions
- Overloading Functions from Super Types
- Create Functions
- How it works
- Annotations
- Expressions
- Blocks
- Examples
- Syntax
- Literals
- String Literals
- Integer Literals
- Boolean Literals
- Null Literal
- Type Literals
- Infix Operators / Operator Overloading
- Short-Circuit Boolean Operators
- Examples
- Assignments
- Feature Calls
- Syntax
- Property Access
- Implicit 'this' variable
- Null-Safe Feature Call
- Constructor Call
- Examples
- Syntax
- If Expression
- Syntax
- Typing
- Examples
- For Loop
- Syntax
- While Loop
- Syntax
- Examples
- Do-While Loop
- Syntax
- Examples
- Variable Declarations
- Syntax
- Typing
- Closures
- Syntax
- Typing
- Function Mapping
- Examples
- Switch Expression
- Type guards
- Typing
- Examples
- Syntax
- Type Casts
- Syntax
- Examples
- Rich Strings
- Conditions in Rich Strings
- Loops in Rich Strings
- Typing
- White Space Handling
- Return Expression
- Throwing Exceptions
- Try, Catch, Finally