CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 04:27:39 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"34a6cf9a58c8c0f5e360527b3e7af346"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=E07DkuW7EezMyZiZXTXONgBYSgx4saHWfnvFmXKCdDvO%2BtGgkHsZWLaoOeqoIvR0lAyhVPWyXbR4yXJ%2F9uSwuuEEPvVhvqeiatEVfiYemqdVWDAszyz1gpKEsPmNhK%2F2%2B4GMvaF1wkR%2FIlrY4m9n0vXeAn0%2FatttgV4BmvKOcGOKvJtyGRokQ84FmRANqsP5BgeNDk%2FNwLH%2BV3lgAD5%2BMFNgwWeWy5xC0vNULNaALRZ2vk3sjDxQyDZd6rbIrxcw%2BTPurCKxqQlGcC1qmgzdIg%3D%3D--8fm%2BWBQvrR4bgaGL--hTFURv7ryBGDjD9vj9mMOg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1485559995.1753936059; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 04:27:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 04:27:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9D24:3C0FA8:24B8FB:34217E:688AF0BB
Release spoon-core-6.0.0 · INRIA/spoon · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 361
spoon-core-6.0.0
Compare
·
3234 commits
to master
since this release
New major Spoon 6.0.0 release 🎉
Thanks to all contributors on this amazing release 👍
New features
- Roles
- Introduction of TokenWriter to support custom formatting of pretty-printed code. (PR: #1494)
- Spoon runs on Java9 JVM with JDK9. (PR: #1585)
- Add TypeFactory LIST, SET, MAP, ... constant type references. (PR: #1660)
- Add new create method in Factory. (PR: #1659)
- Add CtPackage#getQualifiedName. (PR: #1652)
- The cloning behavior can be subclassed. (PR: #1580)
- Add a static method to getting started with one single line of code. (PR: #1559)
- Add support for analyzing whether a type reference is generic or not (method isGeneric). (PR: #1562)
- Add support for implicit / explicit modifiers (CtExtendedModifier). (PR: #1649)
- Add simple support for enter/exit in DJPP as in CtScanner. (PR: #1538)
- Create a launcher to analyze maven projects. (PR: #1533)
- Add utility methods in CtModifiable. (PR: #1726)
Bug Fixes
⚠️ [BREAKING] Fix ClassTypingContext#isSameSignature for generic methods. (PR: #1639)⚠️ [BREAKING] SetVisibility should only be used with private, public or protected. (PR: #1705)⚠️ [MAYBE BREAKING] Less hashcode collisions for CtReference. (PR: #1717)⚠️ [BREAKING] Move deprecated classes to spoon.legacy. (PR: #1518)⚠️ [BREAKING] Template: Replacing of field access by refining behaviour of String parameter. (PR: #1476)⚠️ [BREAKING] Remove the useless factory in Environment. (PR: #1673)⚠️ Fix bug with repeatable annotations. (PR: #1724)- Typo in RoleHandlersGenerator. (PR: #1709)
- Method with varargs should never be transient. (PR: #1701)
- JDTImportBuilder should not import all public methods from interfaces. (PR: #1620)
- Explicit "final" modifier are possible in catch variables and should be kept when pretty-printing. (PR: #1690)
- CtVariableAccess#getVariable() sets the type of "super". (PR: #1684)
- MavenLauncher warns when a provided dependency is not loaded. (PR: #1681)
- Add position for implicit blocks. (PR: #1678)
- Bug related with cloning newClass invocation with anonymous class. (PR: #1667)
- Improve contract+test of CtScanner and it relation to roles. (PR: #1642)
- In CtCatchVariable set/getType is derived from multiType. (PR: #1668)
- AbstractTypingContext should set consistent parents. (PR: #1664)
- [BREAKING] CtTypeParameterReference#getBoundingType() consistently returns null when Object is the bound. (PR: #1661)
- Remove useless code on CtElement#setParent. (PR: #1662)
- Change default log level. (PR: #1646)
- Fix StackOverflow in MethodTypingContext on <T, U extends T>. (PR: #1640)
- Fix NPE in MavenLauncher when there is no build section. (PR: #1720)
- CtTypeInformationTest now use patch JDK version for the expected test number. (PR: #1721)
- Optional maven dependencies should not be passed to SpoonMavenLauncher. (PR: #1619)
- Fix bug related to generics in CtTypeReference in noclasspath. (PR: #1609)
- Auto-imports works for package-info. (PR: #1611)
- CtNewClassImpl#setAnonymousClass has CtRole.NESTED_TYPE not CtRole.EXECUTABLE. (PR: #1605)
- Pretty printer adds no space before comma in new array expression. (PR: #1602)
- Spoon model is a tree not a lattice. (PR: #1592)
- ImportBuilder checks visibility when importing starred imports. (PR: #1588)
- The query engine also works on JVMs where lambdas are not in stack trace elements. (PR: #1579)
- Cleaning of method signature computation. (PR: #1561)
- DJPP sends "class" as keyword and wildcard "?" as separator token. (PR: #1568)
- PotentialVariableDeclarationFunction should consider static scopes. (PR: #1536)
- Fix issue with recursively defined annotation in shadow class. (PR: #1711)
- Remove an hardcoded encoding value in CompilationUnitWrapper. (PR: #1544)
- SetSimpleName of CtRootPackage if now fail-silent to simplify client code. (PR: #1523)
- File resource leak in pretty printing. (PR: #1521)
- Bump commons-io version. (PR: #1530)
- prettyprinter
- role
- template
- Relax template parameter constraint. (PR: #1535)
Refactoring
⚠️ [BREAKING] Get rid of snapshotLength and hasNewContent. (PR: #1576)⚠️ [BREAKING] CompilationUnit#create renamed to getOrCreate. (PR: #1645)⚠️ [BREAKING] CtModifiable add/removeModifier stick to convention on returned object. (PR: #1706)⚠️ [BREAKING] Remove ant related code and dependency. (PR: #1540)⚠️ [BREAKING] Move ElementPrinterHelper to the appropriate package. (PR: #1551)⚠️ [BREAKING] GetBoundingType returns Object by default. (PR: #1672)- All non-leaf interfaces of the metamodel should be visited by CtInheritanceScanner. (PR: #1703)
- Remove replace methods which pollute code completion and do not provide additional behavior. (PR: #1704)
- Move package
spoon.generating.*
from src/main to src/test. (PR: #1647) - Introduce CommentHelper, LiteralHelper and OperatorHelper. (PR: #1525)
- Compute CtRole#forName automatically based on enum value names. (PR: #1702)
- PrinterHelper prints tabs automatically. (PR: #1566)
- DefaultJavaPrettyPrinter better uses OperatorHelper. (PR: #1553)
- Delete old/useless config files. (PR: #1548)
- Launcher#buildModel returns a CtModel. (PR: #1549)
- Add constant for code compliance level. (PR: #1543)
- Test code assumes java 8 compliance so as to allow lambdas in spoon code. (PR: #1539)
- Use LiteralHelper in DefaultJavaPrettyPrinter. (PR: #1529)
- modifier: CreateCtModifierHandler that handles the modifiers. (PR: #1677)
- role
Performance
- MainTest#checkModelIsTree needs less memory. (PR: #1596)
- Avoid slow CCE. Check acceptable type when possible. (PR: #1541)
Tests
- Add a test about the behavior of PropertySetter. (PR: #1612)
- SpoonMetaModel checks whether provided model is complete. (PR: #1714)
- Add an architectural test to catch package creation during code review. (PR: #1696)
- Fix typo in MMType. (PR: #1708)
- Check that CtComment works with \r separator. (PR: #1679)
- Add explicit Spoon metamodel to facilitate consistency checks and code generation. (PR: #1627)
- Declares missing packages for new architecture enforcing test. (PR: #1710)
- Adds a test on roles for CtReference fields. (PR: #1601)
- Don't use Junit3 classes in test suite, only use Junit4 org.junit.*. (PR: #1577)
- Add a test to verify an important contract of setParent. (PR: #1591)
- Add a new test to check if static imports are placed after type imports. (PR: #1572)
- Enforce test naming discipline. (PR: #1554)
- The ant dependency was removed so the test should be changed. (PR: #1547)
- Fix test assertion with JDK8 1.8.0_15 on Travis. (PR: #1718)
- Refactor: Faster test execution. (PR: #1552)
Documentation
- Improve getting started. (PR: #1676)
- Clarify CtType#getAllMethods documentation. (PR: #1644)
- End-of-life for mailing list spoon-discuss. (PR: #1643)
- Clarifies contracts of @DerivedProperty. (PR: #1613)
- Move around some documentation items for easier finding. (PR: #1564)
- Add recent papers that use Spoon. (PR: #1556)
- Update version number after the new release 5.9.0. (PR: #1517)
Other
- Change Revapi template to have class name shortening by a bunch of Freemarker macros. (PR: #1697)
- Revapi reports are smaller on screen to save space on the corresponding Github page. (PR: #1692)
- Revapi now deletes its own comments before commenting. (PR: #1683)
- Improve Travis configuration for parallel jobs. (PR: #1655)
- Bump revapi version. (PR: #1665)
- Upgrade to org.eclipse.tycho:org.eclipse.jdt.core:3.13.0. (PR: #1492)
- Now depends on Java8/JDK8. (PR: #1528)
- maven: Remove maven reporting plugins that we never use. (PR: #1560)
- Prepare for next development iteration.
Authors
Name | Nb Commit |
---|---|
Simon Urli | 49 |
Pavel Vojtechovsky | 44 |
Martin Monperrus | 22 |
Thomas Durieux | 4 |
tiagodrcarvalho | 1 |
Lukas Krejci | 1 |
Assets 6
You can’t perform that action at this time.