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

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding.canBeInstantiated()


      if (this.anonymousType != null) {
        if (!receiverType.isEnum()) {
          scope.problemReporter().anonymousClassCannotExtendFinalClass(this.type, receiverType);
          hasError = true;
        }
      } else if (!receiverType.canBeInstantiated()) {
        scope.problemReporter().cannotInstantiate(this.type, receiverType);
        return this.resolvedType = receiverType;
      }
    }
    // resolve type arguments (for generic constructor call)
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.