Dev: Hands-on Workshop Automatically improving Java codebases with Error Prone


Details
We are excited to announce our next CodeLab.jug event! We invite you to join us in getting your hands dirty - in this great hands-on workshop "Automatically improving Java codebases with Error Prone for developers".
This workshop will be organized in cooperation with Picnic in Amsterdam.
Summary
Are you tired of repeatedly addressing the same code issues and therefore wasting valuable time during code reviews? Do inconsistent code styles and persistent bugs plague your codebase? Join our hands-on lab and unleash the power of Error Prone and Refaster to structurally improve your Java projects. In this session, we'll dive deep into Error Prone and Refaster, equipping you with the tools to automate code improvements, enforce coding standards, enhance code consistency, and eliminate bugs and anti-patterns.
Program & Background
By leveraging Error Prone, you'll uncover bugs and potential issues within your codebase and receive automated suggestions for fixes. The fixes can be for any simple task, such as eradicating recurring bugs, addressing anti-patterns, and enforcing coding best practices and consistent styles. With the knowledge gained from this session, you'll be equipped to implement these automation techniques in your own codebase and create custom checks, saving both yourself and your colleagues invaluable development time.
Don't miss this opportunity to transform your codebase, increase efficiency, and eliminate time-consuming manual interventions. Join us in this hands-on lab and embark on a journey towards cleaner, more reliable, and consistent Java projects.
Target Audience
Software Java Developers at an intermediate level
Requirements (Important: make sure you have this ready on your laptop before the start of the workshop):
- Your favourite IDE
- Java 17
- Link to project: https://github.com/PicnicSupermarket/error-prone-support/.
- Clone the repository to your laptop.
- Checkout the `workshop` branch.
- Perform a `mvn clean install` in the root of the repository and get a successful build.
- If you encounter any problems, create an issue in Error Prone Support or open a discussion in the repository.
Objectives
- Learn how to automatically improve your codebase with Refaster and Error Prone.
- Hands-on experience with writing custom Refaster rules.
- Hands-on experience with writing custom Error Prone checks.
- Understand how to introduce these tools in your codebase.
Agenda
17.00 Walk-in / Food
18.00 Start Workshop
21.00 End Workshop
21.00 - 21.30 - closing / drinks
Food & Drinks
We will take care of this!
Speakers
Rick Ossendrijver - Software Engineer – Picnic
Stephan Schroevers - Tech Lead Consumer Domain - Picnic
Location
Picnic HQ
Van Marwijk Kooystraat 15
1114 AG Amsterdam
Route and parking:
By public transport: Picnic HQ is located next to Metrostation Overamstel
By car: Googlemaps
Parking: this is limited on the Picnic parkingsite. Paid parking is available in front of the office
Registration
Please note that an additional registration request will follow by a direct message via Meetup by our host of the workshop
This will help us in providing you with important information before and during our workshop. We also require this information for registration at our host's reception.

Dev: Hands-on Workshop Automatically improving Java codebases with Error Prone