Package lombok.ast

Examples of lombok.ast.ClassLiteral


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


  }
 
  public Node createThisOrSuperOrClass(org.parboiled.Node<Node> dot, String text, Node qualifier) {
    Node result;
    if ("super".equals(text)) result = new Super().rawQualifier(qualifier);
    else if ("class".equals(text)) result = new ClassLiteral().rawTypeReference(qualifier);
    else result = new This().rawQualifier(qualifier);
    if (dot != null) source.registerStructure(result, dot);
    return posify(result);
  }
View Full Code Here

TOP

Related Classes of lombok.ast.ClassLiteral

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.