Package org.kite9.diagram.builders.java

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


    @Kite9Item
    public void test_11_2_MethodStereotype() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(SomeClass.class)
    .show(db.asConnectedGlyphs())
    .withMethods(db.onlyAnnotated(), false).show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }

   
    @Test
View Full Code Here


    @Kite9Item
    public void test_11_3_FieldStereotype() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(SomeClass.class)
    .show(db.asConnectedGlyphs())
    .withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }
   
    @Test
    @Kite9Item
View Full Code Here

  @Test
  public void test_8_1_MapExample1() throws IOException {
     DiagramBuilder db = createBuilder();
     db.withClasses(Example1.class)
     .show(db.asConnectedGlyphs())
     .withFields(db.onlyAnnotated(), false)
     .show(db.asConnectedGlyphs())
     .withType(null)
     .show(db.asConnectedGlyphs());
     renderDiagram(db.getDiagram());
  }
View Full Code Here

  @Kite9Item
  @Test
  public void test_8_2_MapExample2() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example2.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }

  @Test
View Full Code Here

  @Test
  @Kite9Item
  public void test_8_3_MapExample3() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example3.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }

  @Test
View Full Code Here

  @Test
  @Kite9Item
  public void test_8_4_MapExample4() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example4.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), true).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }
 
  @Test
View Full Code Here

 
  @Test
  @Kite9Item
  public void test_8_5_MapExample5() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example5.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), true).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }
 
  @Test
View Full Code Here

 
  @Test
  @Kite9Item
  public void test_8_6_MapExample4AsText() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example4.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), true).show(db.asTextLines())
        .withType(null).show(db.asTextLines());
    renderDiagram(db.getDiagram());
  }
 
View Full Code Here

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

  @Test
View Full Code Here

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

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