Package lombok.ast

Examples of lombok.ast.This


   
    @Override public void visitIdent(JCIdent node) {
      String name = node.getName().toString();
     
      if ("this".equals(name)) {
        This t = new This();
        set(node, t);
        setConversionPositionInfo(t, "this", getPosition(node));
        return;
      }
     
View Full Code Here


        set(node, parent);
        return;
      }
     
      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

 
  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.This

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.