Illustration einer tropischen Insel mit Palmen und einem hohen Berg

Java Blog für Programmierer

Repeating Annotations in Java 8 Build 68 eingezogen

· Christian Ullenboom

Was das ist: http://openjdk.java.net/jeps/120

In der Klasse Class ist hinzugekommen:

public  A[] getAnnotations(Class annotationClass)public  A getDeclaredAnnotation(Class annotationClass)public  A[] getDeclaredAnnotations(Class annotationClass)

Und noch ein paar weitere Ergänzungen in Package, System, …

Neu sind ebenfalls ContainerFor und ConainedBy.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7154390, http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/735b93462eed

Kategorien: Java 8

← Alle Beiträge