Examples of resolveBoxing()


Examples of org.eclipse.jdt.core.dom.Expression.resolveBoxing()

    }

    if (node instanceof Expression) {
      Expression expr = (Expression) node;

      if ((expr.resolveBoxing() || expr.resolveUnboxing())
          && checkBoxNesting(expr)) {

        if (expr.resolveBoxing()) {
          ITypeBinding tb2 = boxingType(expr);
          hardDep(tb2);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Expression.resolveBoxing()

      Expression expr = (Expression) node;

      if ((expr.resolveBoxing() || expr.resolveUnboxing())
          && checkBoxNesting(expr)) {

        if (expr.resolveBoxing()) {
          ITypeBinding tb2 = boxingType(expr);
          hardDep(tb2);
          print(CName.relative(tb2, type, true) + "::valueOf(");

          visits.add(new NodeInfo(node, ")"));
View Full Code Here

Examples of org.eclipse.jdt.core.dom.FieldAccess.resolveBoxing()

        throw new DefinitelyNotEnumerizableException(
            Messages.ASTNodeProcessor_NonEnumerizableTypeEncountered, node);
      else {
        final IJavaElement elem = fieldAccess.resolveFieldBinding()
            .getJavaElement();
        if (elem.isReadOnly() || fieldAccess.resolveBoxing())
          throw new DefinitelyNotEnumerizableException(
              Messages.ASTNodeProcessor_SourceNotPresent, node);
        if (fieldAccess.resolveTypeBinding().isEqualTo(
            node.getAST().resolveWellKnownType("java.lang.Object"))) //$NON-NLS-1$
          throw new NonEnumerizableASTException(
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Name.resolveBoxing()

        throw new DefinitelyNotEnumerizableException(
            Messages.ASTNodeProcessor_NonEnumerizableTypeEncountered, node);
      else {
        final IJavaElement elem = name.resolveBinding()
            .getJavaElement();
        if (elem.isReadOnly() || name.resolveBoxing())
          throw new DefinitelyNotEnumerizableException(
              Messages.ASTNodeProcessor_SourceNotPresent, node);
        if (name.resolveTypeBinding().isEqualTo(
            node.getAST().resolveWellKnownType("java.lang.Object"))) //$NON-NLS-1$
          throw new NonEnumerizableASTException(
View Full Code Here

Examples of org.eclipse.jdt.core.dom.SuperFieldAccess.resolveBoxing()

    case ASTNode.SUPER_FIELD_ACCESS: {
      final SuperFieldAccess superFieldAccess = (SuperFieldAccess) node;
      final IJavaElement elem = superFieldAccess.resolveFieldBinding()
          .getJavaElement();
      if (elem.isReadOnly() || superFieldAccess.resolveBoxing())
        throw new DefinitelyNotEnumerizableException(
            Messages.ASTNodeProcessor_SourceNotPresent, node);
      if (superFieldAccess.resolveTypeBinding().isEqualTo(
          node.getAST().resolveWellKnownType("java.lang.Object"))) //$NON-NLS-1$
        throw new NonEnumerizableASTException(Messages.ASTNodeProcessor_IllegalArrayUpcast,
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.