Xtend User Guide
- Introduction
- Installation
- Maven Support
- The Runtime Library
- Getting Started
- The Movies Example
- The Data
- Parsing The Data
- Answering Some Questions
- Question 1 : What Is The Number Of Action Movies?
- Question 2 : What Is The Year The Best Movie From The 80ies Was Released?
- Question 3 : What Is The The Sum Of All Votes Of The Top Two Movies?
- Static Typing and Java Interoperability
- Type Inference
- Conversion Rules
- Interoperability with Java
- Classes and Members
- Package Declaration
- Imports
- Class Declaration
- Constructors
- Fields
- Methods
- Abstract Methods
- Overriding Methods
- Declared Exceptions
- Inferred Return Types
- Generic Methods
- Dispatch Methods
- Dispatch Methods and Inheritance
- Static Dispatch Methods
- Annotations
- Extension Methods
- Extensions From The Library
- Local Extension Methods
- Extension Imports
- Extension Fields
- Expressions
- Literals
- String Literals
- Number Literals
- Boolean Literals
- Null Literal
- Type Literals
- Type Casts
- Infix Operators and Operator Overloading
- Short-Circuit Boolean Operators
- Examples
- Assignments
- Setting Properties
- Blocks
- Variable Declarations
- Typing
- Field Access and Method Invocation
- Property Access
- Implicit Variables this and it
- Static Access
- Null-Safe Feature Call
- Constructor Call
- Lambda Expressions
- Typing
- If Expression
- Switch Expression
- Type guards
- 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
- Processed Annotations
- @Property
- @Data