Examples of rawQualifier()


Examples of lombok.ast.ConstructorInvocation.rawQualifier()

    @Override public void visitNewClass(JCNewClass node) {
      ConstructorInvocation inv = new ConstructorInvocation();
      fillList(node.getArguments(), inv.rawArguments());
      fillList(node.getTypeArguments(), inv.rawConstructorTypeArguments(), FlagKey.TYPE_REFERENCE);
      inv.rawTypeReference(toTree(node.getIdentifier(), FlagKey.TYPE_REFERENCE));
      inv.rawQualifier(toTree(node.getEnclosingExpression()));
      Node n = toTree(node.getClassBody());
      if (n instanceof TypeDeclaration) {
        NormalTypeBody body = ((ClassDeclaration) n).astBody();
        if (body != null) body.unparent();
        inv.rawAnonymousClassBody(setPos(node.getClassBody(), body));
View Full Code Here

Examples of lombok.ast.Super.rawQualifier()

      }
     
      if ("super".equals(name)) {
        Super s = new Super();
        setConversionPositionInfo(s, "super", getPosition(node));
        set(node, s.rawQualifier(toTree(node.getExpression(), FlagKey.TYPE_REFERENCE)));
        return;
      }
     
      if ("class".equals(name)) {
        ClassLiteral c = new ClassLiteral();
View Full Code Here

Examples of lombok.ast.SuperConstructorInvocation.rawQualifier()

        String name = ((JCFieldAccess) sel).getIdentifier().toString();
        if ("super".equals(name)) {
          SuperConstructorInvocation sci = new SuperConstructorInvocation();
          fillList(node.getTypeArguments(), sci.rawConstructorTypeArguments(), FlagKey.TYPE_REFERENCE);
          fillList(node.getArguments(), sci.rawArguments());
          sci.rawQualifier(toTree(((JCFieldAccess) sel).getExpression()));
          set(node, sci);
          setConversionPositionInfo(sci, "super", getPosition(sel));
          return;
        }
        setPos(sel, id.astValue(name));
View Full Code Here

Examples of lombok.ast.This.rawQualifier()

      }
     
      if ("this".equals(name)) {
        This t = new This();
        setConversionPositionInfo(t, "this", getPosition(node));
        set(node, t.rawQualifier(toTree(node.getExpression(), FlagKey.TYPE_REFERENCE)));
        return;
      }
     
      if ("super".equals(name)) {
        Super s = new Super();
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.