Examples of astWildcard()


Examples of lombok.ast.TypeReference.astWildcard()

      DanglingNodes.addDanglingNode(ref, type);
    } else {
      ref = (TypeReference)type;
    }
   
    ref.astWildcard(wildcard);
    source.registerStructure(ref, qmark);
    for (org.parboiled.Node<Node> childPNode : boundType.getChildren()) {
      if (childPNode != null) source.registerStructure(ref, childPNode);
    }
    return posify(ref);
View Full Code Here

Examples of lombok.ast.TypeReference.astWildcard()

    if (arrayDims == 0) return value;
   
    TypeReference ref = new TypeReference().astArrayDimensions(arrayDims);
    if (value instanceof TypeReference) {
      TypeReference orig = (TypeReference)value;
      ref.astWildcard(orig.astWildcard());
      ref.rawParts().migrateAllFrom(orig.rawParts());
    }
    return posify(ref);
  }
 
View Full Code Here

Examples of lombok.ast.TypeReference.astWildcard()

    @Override public void visitWildcard(JCWildcard node) {
      TypeReference ref = (TypeReference) toTree(node.getBound(), FlagKey.TYPE_REFERENCE);
      if (ref == null) ref = new TypeReference();
      switch (node.getKind()) {
      case UNBOUNDED_WILDCARD:
        ref.astWildcard(WildcardKind.UNBOUND);
        break;
      case EXTENDS_WILDCARD:
        ref.astWildcard(WildcardKind.EXTENDS);
        setConversionPositionInfo(ref, "extends", getTypeBoundKindPosition(node));
        break;
View Full Code Here

Examples of lombok.ast.TypeReference.astWildcard()

      switch (node.getKind()) {
      case UNBOUNDED_WILDCARD:
        ref.astWildcard(WildcardKind.UNBOUND);
        break;
      case EXTENDS_WILDCARD:
        ref.astWildcard(WildcardKind.EXTENDS);
        setConversionPositionInfo(ref, "extends", getTypeBoundKindPosition(node));
        break;
      case SUPER_WILDCARD:
        ref.astWildcard(WildcardKind.SUPER);
        setConversionPositionInfo(ref, "super", getTypeBoundKindPosition(node));
View Full Code Here

Examples of lombok.ast.TypeReference.astWildcard()

      case EXTENDS_WILDCARD:
        ref.astWildcard(WildcardKind.EXTENDS);
        setConversionPositionInfo(ref, "extends", getTypeBoundKindPosition(node));
        break;
      case SUPER_WILDCARD:
        ref.astWildcard(WildcardKind.SUPER);
        setConversionPositionInfo(ref, "super", getTypeBoundKindPosition(node));
        break;
      }
      set(node, ref);
    }
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.