Viewing sample resized to 66% of original (view original) Loading...
Title

Annotations and Annotation Processing: What's New in JDK 8?

Description

JDK 8 will include new features for annotations and annotation processing. This session demonstrates these new features, focusing on repeated annotations and the new core reflection-based implementation of the javax.lang.model.

Support for repeated annotations is being included in JDK 8. This will enable you to write code annotated with multiple instances of the same annotation type. Attend this session to see how this can help you write simpler, cleaner code.

JDK 8 will provide a new reflection-based back end to the javax.lang.model. This will give you access to a unified, mirror-based, easy-to-use introspection API for a runtime-based view of your code. Learn how to use this new back end for runtime processing of code, including annotations.

Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.

Blacklisted
  • Comments
  • There are no comments.