Package lombok.ast

Examples of lombok.ast.ClassDeclaration.rawImplementing()


      }
     
      if (n instanceof TemporaryNode.ImplementsClause) {
        //if (!decl.implementing().isEmpty()) //TODO add error node: multiple implements clauses.
        List<Node> interfaces = ((TemporaryNode.ImplementsClause)n).superInterfaces;
        if (interfaces != null) for (Node i : interfaces) decl.rawImplementing().addToEnd(i);
      }
    }
    return posify(decl);
  }
 
View Full Code Here


      flagKeyMap.put(FlagKey.SKIP_IS_DECL, FlagKey.SKIP_IS_DECL);
     
      if ((flags & (Flags.ENUM | Flags.INTERFACE)) == 0) {
        ClassDeclaration classDecl = new ClassDeclaration();
        typeDecl = classDecl;
        fillList(node.implementing, classDecl.rawImplementing(), FlagKey.TYPE_REFERENCE);
        classDecl.rawExtending(toTree(node.extending, FlagKey.TYPE_REFERENCE));
        fillList(node.typarams, classDecl.rawTypeVariables());
        NormalTypeBody body = new NormalTypeBody();
        fillList(node.defs, body.rawMembers(), flagKeyMap);
        classDecl.astBody(body);
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.