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

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding


    } else if (typeX.isTypeVariableReference()) {
      // return makeTypeVariableBinding((TypeVariableReference)typeX);
      return makeTypeVariableBindingFromAJTypeVariable(((TypeVariableReference) typeX).getTypeVariable());
    } else if (typeX.isRawType()) {
      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;
View Full Code Here


   * @since 3.0
   */
  public boolean isDefaultConstructor() {
    final ReferenceBinding declaringClassBinding = this.binding.declaringClass;
    if (declaringClassBinding.isRawType()) {
      RawTypeBinding rawTypeBinding = (RawTypeBinding) declaringClassBinding;
      if (rawTypeBinding.genericType().isBinaryBinding()) {
        return false;
      }
      return (this.binding.modifiers & ExtraCompilerModifiers.AccIsDefaultConstructor) != 0;
    }
    if (declaringClassBinding.isBinaryBinding()) {
View Full Code Here

    } else if (typeX.isTypeVariableReference()) {
//      return makeTypeVariableBinding((TypeVariableReference)typeX);
      return makeTypeVariableBindingFromAJTypeVariable(((TypeVariableReference)typeX).getTypeVariable());
    } else if (typeX.isRawType()) {
      ReferenceBinding baseTypeBinding = lookupBinding(typeX.getBaseName());
      RawTypeBinding rtb = lookupEnvironment.createRawType(baseTypeBinding,baseTypeBinding.enclosingType());
      return rtb;
    } else if (typeX.isGenericWildcard()) {
        // translate from boundedreferencetype to WildcardBinding
      BoundedReferenceType brt = (BoundedReferenceType)typeX;
      // Work out 'kind' for the WildcardBinding
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding

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.