spoon-core-5.1.0

@GerardPaligot GerardPaligot released this Mar 21, 2016 · 423 commits to master since this release

New features

  • Full support of intersection types. #535
  • Fluent api to test source code transformations. #517
  • Add field at the top of a type. #537

Minor API changes

  • Annotation values are handled as CtExpression. #555 #556
  • CtVariableAccess#getType does not return null anymore, now delegates to getVariable().getType(). #548

Fixes

  • No classpath:
    • NPE thrown with annotations on primitive type. #530
    • Anonymous class name must have an empty string. #530
    • NPE when build the type of a CtNewArray. #561
  • Generics:
    • Generics in declaring types of a constructor call. #538
    • A local type can have actual generic types. #542
    • Generics in declaring types of a new class. #545
  • Fields:
    • The qualified name of a type declared in an anonymous class. #541
  • Visibility:
    • Field access declared in a default class. #543

Refactoring

  • Refactored responsabilities of equal/hashcode/signature. #532

Downloads