Package de.plushnikov.intellij.lombok.psi

Examples of de.plushnikov.intellij.lombok.psi.MyLightFieldBuilder


    if (!hasFieldByName(psiClass, loggerName)) {
      Project project = psiClass.getProject();
      PsiManager manager = psiClass.getContainingFile().getManager();

      PsiType psiLoggerType = JavaPsiFacade.getElementFactory(project).createTypeFromText(loggerType, psiClass);
      LightElement loggerField = new MyLightFieldBuilder(manager, loggerName, psiLoggerType)
          .setHasInitializer(true)
          .setContainingClass(psiClass)
          .setModifiers(PsiModifier.FINAL, PsiModifier.STATIC, PsiModifier.PRIVATE)
          .setNavigationElement(psiAnnotation);
View Full Code Here


    Project project = psiClass.getProject();
    PsiManager manager = psiClass.getContainingFile().getManager();

    final PsiElementFactory psiElementFactory = JavaPsiFacade.getElementFactory(project);
    PsiType psiLoggerType = psiElementFactory.createTypeFromText(loggerType, psiClass);
    LightElement loggerField = new MyLightFieldBuilder(manager, loggerName, psiLoggerType)
        .setHasInitializer(true)
        .setContainingClass(psiClass)
        .setModifiers(PsiModifier.FINAL, PsiModifier.STATIC, PsiModifier.PRIVATE)
        .setNavigationElement(psiAnnotation);
View Full Code Here

TOP

Related Classes of de.plushnikov.intellij.lombok.psi.MyLightFieldBuilder

Copyright © 2018 www.massapicom. 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.