Package lombok.ast

Examples of lombok.ast.Super


        setConversionPositionInfo(t, "this", getPosition(node));
        return;
      }
     
      if ("super".equals(name)) {
        Super s = new Super();
        set(node, s);
        setConversionPositionInfo(s, "super", getPosition(node));
        return;
      }
     
View Full Code Here


        set(node, t.rawQualifier(toTree(node.getExpression(), FlagKey.TYPE_REFERENCE)));
        return;
      }
     
      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

    return v;
  }
 
  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.Super

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.