Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Eclipse Tips: Quick Fix to Generate Code

DZone's Guide to

Eclipse Tips: Quick Fix to Generate Code

· Java Zone
Free Resource

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.

Here’s another in my nascent series of quick tips for Eclipse. This one shows how you can use Eclipse’s quick fix feature (ctrl+1) to quickly generate code.

To demonstrate it, I’ve actually used one of the exercises from my littleJavaTDD course, so if you watch it you’ll learn a little about Hamcrest matchers, too :-)

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:

Published at DZone with permission of Dan Haywood, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}