Package org.aspectj.org.eclipse.jdt.core.dom

Examples of org.aspectj.org.eclipse.jdt.core.dom.Type


        while (iterator.hasNext()) {
          if (!isFirst)
            buffer.append(',');
          else
            isFirst = false;
          Type typeArgument = (Type) iterator.next();
          getFullyQualifiedName(typeArgument, buffer);
        }
        buffer.append('>');
        break;
      case ASTNode.PRIMITIVE_TYPE:
        buffer.append(((PrimitiveType) type).getPrimitiveTypeCode().toString());
        break;
      case ASTNode.QUALIFIED_TYPE:
        buffer.append(((QualifiedType) type).getName().getFullyQualifiedName());
        break;
      case ASTNode.SIMPLE_TYPE:
        buffer.append(((SimpleType) type).getName().getFullyQualifiedName());
        break;
      case ASTNode.WILDCARD_TYPE:
        buffer.append('?');
        WildcardType wildcardType = (WildcardType) type;
        Type bound = wildcardType.getBound();
        if (bound == null) return;
        if (wildcardType.isUpperBound()) {
          buffer.append(" extends "); //$NON-NLS-1$
        } else {
          buffer.append(" super "); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.core.dom.Type

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.