Package org.aspectj.weaver

Examples of org.aspectj.weaver.WildcardedUnresolvedType


        theBound = fromBinding(eWB.bound);
      }
      // if (eWB.boundKind == WildCard.SUPER) {
      //
      // }
      WildcardedUnresolvedType theType = (WildcardedUnresolvedType) TypeFactory.createTypeFromSignature(CharOperation
          .charToString(eWB.genericTypeSignature()));
      // if (theType.isGenericWildcard() && theType.isSuper()) theType.setLowerBound(theBound);
      // if (theType.isGenericWildcard() && theType.isExtends()) theType.setUpperBound(theBound);
      return theType;
    }
View Full Code Here


      ReferenceBinding baseTypeBinding = lookupBinding(typeX.getBaseName());
      RawTypeBinding rtb = lookupEnvironment.createRawType(baseTypeBinding, baseTypeBinding.enclosingType());
      return rtb;
    } else if (typeX.isGenericWildcard()) {
      if (typeX instanceof WildcardedUnresolvedType) {
        WildcardedUnresolvedType wut = (WildcardedUnresolvedType) typeX;
        int boundkind = Wildcard.UNBOUND;
        TypeBinding bound = null;
        if (wut.isExtends()) {
          boundkind = Wildcard.EXTENDS;
          bound = makeTypeBinding(wut.getUpperBound());
        } else if (wut.isSuper()) {
          boundkind = Wildcard.SUPER;
          bound = makeTypeBinding(wut.getLowerBound());
        }
        TypeBinding[] otherBounds = null;
        // TODO 2 ought to support extra bounds for WildcardUnresolvedType
        // if (wut.getAdditionalBounds()!=null && wut.getAdditionalBounds().length!=0) otherBounds =
        // makeTypeBindings(wut.getAdditionalBounds());
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.WildcardedUnresolvedType

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.