Package org.kite9.diagram.builders.java

Examples of org.kite9.diagram.builders.java.DiagramBuilder.onlyAnnotated()


    @Test
    public void test_12_1_AsText() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test12Primitives.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).show(db.asTextLines()).withType(null).show(db.asTextLines());

  renderDiagram(db.getDiagram());
    }
   
    @Kite9Item
View Full Code Here


    @Test
    public void test_12_2_AsGlyphs() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test12Primitives.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs()).withType(null).show(db.asConnectedGlyphs());

  renderDiagram(db.getDiagram());
    }
   
View Full Code Here

    @Test
    public void test_12_3_AsLabels() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test12Primitives.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).withType(null).show(db.asConnectedGlyphs());

  renderDiagram(db.getDiagram());
    }
   
    @Before
View Full Code Here

    @Test
    public void test_7_1_AsText() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test7Collection.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).show(db.asTextLines()).withType(null).show(db.asTextLines());

  renderDiagram(db.getDiagram());
    }
   
    @Kite9Item
View Full Code Here

    @Test
    public void test_7_2_AsGlyphs() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test7Collection.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs()).withType(null).show(db.asConnectedGlyphs());

  renderDiagram(db.getDiagram());
    }
   
    @Kite9Item
View Full Code Here

    @Test
    public void test_7_3_AsLabels() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test7Collection.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).withType(null).show(db.asConnectedGlyphs());

  renderDiagram(db.getDiagram());
    }
   
    @Before
View Full Code Here

  @Test
  @Kite9Item
  public void test_6_2_MethodCalledClassRelationship() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(A.class).withMethods(db.onlyAnnotated(), true).show(db.asConnectedGlyphs()).withCalledClasses(null).show(
        db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }

  @Test
View Full Code Here

  @Test
  @Kite9Item
  public void test_6_4_MethodCallerClassRelationship() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(B.class).withMethods(db.onlyAnnotated(), true).show(db.asConnectedGlyphs()).withCallingClasses(null)
        .show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }

  @Test
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.