Package org.aspectj.org.eclipse.jdt.internal.compiler.ast

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.Wildcard


    this.mscope = mscope;
  }

  protected StringBuilder printTypeReference(TypeReference tr) {
    if (tr instanceof Wildcard) {
      Wildcard w = (Wildcard) tr;
      output.append('?');
      if (w.bound != null) {
        if (w.kind == Wildcard.EXTENDS) {
          output.append(" extends ");
        } else if (w.kind == Wildcard.SUPER) {
View Full Code Here


   * handle. Whether a type is qualified or unqualified in its source reference is actually reflected in the handle and this code
   * allows for that.
   */
  private void createHandleSigForReference(TypeReference ref, TypeBinding tb, MethodScope scope, StringBuffer handleSig) {
    if (ref instanceof Wildcard) {
      Wildcard w = (Wildcard) ref;
      if (w.bound == null) {
        handleSig.append('*');
      } else {
        handleSig.append('+');
        TypeBinding typeB = w.bound.resolvedType;
View Full Code Here

    return variableDeclarationStatement;
  }

  public Type convertType(TypeReference typeReference) {
    if (typeReference instanceof Wildcard) {
      final Wildcard wildcard = (Wildcard) typeReference;
      final WildcardType wildcardType = new WildcardType(this.ast);
      if (wildcard.bound != null) {
        final Type bound = convertType(wildcard.bound);
        wildcardType.setBound(bound, wildcard.kind == Wildcard.EXTENDS);
        int start = wildcard.sourceStart;
View Full Code Here

    return variableDeclarationStatement;
  }

  public Type convertType(TypeReference typeReference) {
    if (typeReference instanceof Wildcard) {
      final Wildcard wildcard = (Wildcard) typeReference;
      final WildcardType wildcardType = new WildcardType(this.ast);
      if (wildcard.bound != null) {
        final Type bound = convertType(wildcard.bound);
        wildcardType.setBound(bound, wildcard.kind == Wildcard.EXTENDS);
        int start = wildcard.sourceStart;
View Full Code Here

    return variableDeclarationStatement;
  }

  public Type convertType(TypeReference typeReference) {
    if (typeReference instanceof Wildcard) {
      final Wildcard wildcard = (Wildcard) typeReference;
      final WildcardType wildcardType = new WildcardType(this.ast);
      if (wildcard.bound != null) {
        final Type bound = convertType(wildcard.bound);
        wildcardType.setBound(bound, wildcard.kind == Wildcard.EXTENDS);
        int start = wildcard.sourceStart;
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.ast.Wildcard

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.