Examples of OtherAnnotation


Examples of com.getperka.flatpack.codex.AnnotationCodexTest.OtherAnnotation

    assertEquals(5, a2.i());
    assertEquals(1, a2.j());
    assertEquals(2, a2.k()[0]);
    assertEquals(3, a2.k()[1]);

    OtherAnnotation o = getClass().getAnnotation(OtherAnnotation.class);
    OtherAnnotation o2 = (OtherAnnotation) testCodex(codex, o);
    assertEquals(o2, o2);
    assertEquals(o, o2);
    assertEquals(o2, o);
    assertEquals(10, o2.value()[0].i());
    assertEquals(2, o2.value()[0].k()[0]);
    assertEquals(3, o2.value()[0].k()[1]);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.