Examples of withMethods()


Examples of de.plushnikov.intellij.plugin.psi.LombokLightClassBuilder.withMethods()

    final String builderClassName = getBuilderClassName(psiClass, psiAnnotation, psiBuilderType);

    LombokLightClassBuilder builderClass = createBuilderClass(psiClass, psiMethod, builderClassName, psiAnnotation);
    builderClass.withFields(createFields(psiMethod));
    builderClass.withMethods(createMethods(psiClass, psiAnnotation, psiBuilderType, builderClass));

    return builderClass;
  }

  @NotNull
View Full Code Here

Examples of de.plushnikov.intellij.plugin.psi.LombokLightClassBuilder.withMethods()

    final String builderClassName = getBuilderClassName(psiClass, psiAnnotation, psiBuilderType);

    LombokLightClassBuilder builderClass = createBuilderClass(psiClass, psiClass, builderClassName, psiAnnotation);
    builderClass.withFields(createFields(psiClass));
    builderClass.withMethods(createMethods(psiClass, psiAnnotation, psiBuilderType, builderClass));

    return builderClass;
  }

  private Collection<PsiMethod> createMethods(PsiClass psiClass, PsiAnnotation psiAnnotation, PsiType psiBuilderType, LombokLightClassBuilder builderClass) {
View Full Code Here

Examples of org.kite9.diagram.builders.java.ClassBuilder.withMethods()

    // show actors inside context
    PackageBuilder ac = builder.withPackages(Actor.class);
    ac.show(builder.asConnectedContexts(true, Layout.VERTICAL));
    ClassBuilder contents = ac.withMembers(Person.class);
    contents.show(builder.asConnectedGlyphs());
    contents.withMethods(null, false).show(builder.asTextLines());
    contents.withSubClasses(builder.onlyAnnotated(), true).show(builder.asConnectedGlyphs())
      .withMethods(null, false).show(builder.asTextLines());
    // show references between the two
    uc.withReferencingAnnotatedElements(builder.only(Uses.class)).show(builder.asConnectedGlyphs(null,Direction.RIGHT));
   
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.