Examples of onlyAnnotated()


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

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

   
    @Test
View Full Code Here

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

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

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

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

    @Kite9Item
    @Test
View Full Code Here

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

    @Kite9Item
    @Test
    public void test_3_2_FieldAliasesAsTextLine() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test3Field.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), false).show(db.asTextLines());
  renderDiagram(db.getDiagram());
    }

    @Kite9Item
    @Test
View Full Code Here

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

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

View Full Code Here

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

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

    @Kite9Item
View Full Code Here

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

    @Kite9Item
    @Test
    public void test_3_5_FieldsInContext() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test3Field.class).show(db.asConnectedContexts()).withFields(db.onlyAnnotated(), false).show(
    db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }

    @Kite9Item
View Full Code Here

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

    @Kite9Item
    @Test
    public void test_3_6_FieldVisibility() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test3Field.class).show(db.asConnectedContexts()).withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs())
    .showVisibility(db.asTextLines());
  renderDiagram(db.getDiagram());
    }

    @Kite9Item
View Full Code Here

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

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

    @Before
View Full Code Here

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

    @Kite9Item
    @Test
    public void test_5_1_AnnotationAsTextLine() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test5Annotation.class)
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .withAnnotations(null)
        .show(db.asTextLines());
  renderDiagram(db.getDiagram());
    }
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.