Reference Documentation

  1. Java Interoperability
    1. Type Inference
    2. Conversion Rules
    3. Interoperability with Java
  2. Classes and Members
    1. Package Declaration
    2. Imports
    3. Class Declaration
    4. Constructors
    5. Fields
    6. Methods
      1. Abstract Methods
      2. Overriding Methods
      3. Declared Exceptions
      4. Inferred Return Types
      5. Generic Methods
      6. Operator Declarations
      7. Dispatch Methods
        1. Dispatch Methods and Inheritance
        2. Static Dispatch Methods
      8. Create Methods
        1. How it works
    7. Annotations
    8. Extension Methods
      1. Extensions from the Library
      2. Local Extension Methods
      3. Extension Imports
      4. Extension Provider
    9. Interface Declaration
    10. Annotation Type Declaration
    11. Enum Type Declaration
    12. Nested Type Declarations
  3. Expressions
    1. Literals
      1. String Literals
      2. Character Literals
      3. Number Literals
      4. Boolean Literals
      5. Null Literal
      6. Type Literals
      7. Collection Literals
      8. Arrays
    2. Type Casts
    3. Infix Operators and Operator Overloading
      1. Short-Circuit Boolean Operators
      2. Postfix Operators
      3. Defined Operators in The Library
        1. Equality Operators
        2. Comparison Operators
        3. Arithmetic Operators
        4. Elvis Operator
        5. With Operator
        6. Range Operators
        7. Pair Operator
      4. Assignments
        1. Setting Properties
        2. Assignment Operators
    4. Blocks
    5. Variable Declarations
      1. Typing
    6. Field Access and Method Invocation
      1. Property Access
      2. Implicit Variables this and it
      3. Static Access
      4. Null-Safe Feature Call
    7. Constructor Call
    8. Lambda Expressions
      1. Typing
    9. Anonymous Classes
    10. If Expression
    11. Switch Expression
      1. Type guards
      2. Fall Through
    12. For Loop
    13. Basic For Loop
    14. While Loop
    15. Do-While Loop
    16. Return Expression
    17. Throwing Exceptions
    18. Try, Catch, Finally
    19. Synchronized
    20. Template Expressions
      1. Conditions in Templates
      2. Loops in Templates
      3. Typing
      4. White Space Handling
  4. Active Annotations
    1. Annotation Processor
      1. Phase 1: Register Globals
      2. Phase 2: Transformation
      3. Phase 3: Validation
      4. Phase 4: Code Generation
    2. On Expressions and Statements
      1. Generating Blackbox Java Code
      2. Assigning Expressions
    3. Custom Compiler Checks
    4. Class Path Setup and Testing
      1. Testing
      2. Wrap Up
    5. Existing Active Annotations
    6. @Accessors
    7. @Data
    8. @Delegate