Examples of onlyAnnotated()


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

    @Kite9Item
    @Test
    public void test_2_1_MethodsAsGlyphs() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class).show(db.asConnectedGlyphs())
    .withMethods(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_2_2_MethodsAsTextLine() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class).show(db.asConnectedGlyphs())
    .withMethods(db.onlyAnnotated(), false).show(db.asTextLines());
  renderDiagram(db.getDiagram());
    }
      
    @Kite9Item
    @Test
View Full Code Here

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

    @Test
    public void test_2_3_MethodAsLabelWithReturn() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class)
    .show(db.asConnectedGlyphs())
    .withMethods(db.onlyAnnotated(), false)
      .withReturns(null).show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }
   
    @Kite9Item
View Full Code Here

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

    @Test
    public void test_2_4_MethodsInContext() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class)
    .show(db.asConnectedContexts())
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs("method"));
  renderDiagram(db.getDiagram());
    }
   
    @Kite9Item
View Full Code Here

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

    @Test
    public void test_2_5_MethodParams() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class)
    .show(db.asConnectedGlyphs())
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .withParameters(null).show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }
   
View Full Code Here

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

    @Test
    public void test_2_6_MethodVisibilityAndParams() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class)
    .show(db.asConnectedContexts())
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .showVisibility(db.asTextLines())
      .withParameters(null).show(db.asTextLines());
  renderDiagram(db.getDiagram());
    }
View Full Code Here

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

    @Kite9Item
    @Test
    public void test_2_7_MethodMethodCaller() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class).show(db.asConnectedGlyphs())
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .withCallingMethods(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_2_8_MethodClassCaller() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(Test2Method.class).show(db.asConnectedGlyphs())
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .withCallingClasses(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_2_10_MethodCalled() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(CallerClass.class)
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .withCalledMethods(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_2_11_MethodDeclaring() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(CallerClass.class)
    .withMethods(db.onlyAnnotated(), false)
      .show(db.asConnectedGlyphs())
      .withCalledMethods(null).show(db.asConnectedGlyphs())
        .withDeclaringClasses(null).show(db.asConnectedGlyphs());
  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.