Package booton.translator.annotation

Examples of booton.translator.annotation.MultipleMarkerContainer


    public void getDeclaredAnnotations() throws Exception {
        Annotation[] annotations = Repeatable.class.getDeclaredAnnotations();
        assert annotations != null;
        assert annotations.length == 1;

        MultipleMarkerContainer container = (MultipleMarkerContainer) annotations[0];
        MultipleMarker[] markers = container.value();
        assert markers != null;
        assert markers.length == 2;
        assert markers[0].value() == 20;
        assert markers[1].value() == 30;
View Full Code Here

TOP

Related Classes of booton.translator.annotation.MultipleMarkerContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.