Package booton.translator.annotation

Examples of booton.translator.annotation.InheritableMarker


        assert a2.value().equals("value");
    }

    @Test
    public void inheritable() throws Exception {
        InheritableMarker annotation = Base.class.getAnnotation(InheritableMarker.class);
        assert annotation != null;
        assert annotation.value().equals("parent");
        assert annotation == Parent.class.getAnnotation(InheritableMarker.class);

        annotation = Child.class.getAnnotation(InheritableMarker.class);
        assert annotation != null;
        assert annotation.value().equals("child");
        assert annotation != Parent.class.getAnnotation(InheritableMarker.class);
    }
View Full Code Here

TOP

Related Classes of booton.translator.annotation.InheritableMarker

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.