Package com.google.gwt.core.ext

Examples of com.google.gwt.core.ext.TreeLogger.branch()


        serializationStatus.branch(TreeLogger.DEBUG, "Instantiable");
      } else {
        if (tic.isFieldSerializable()) {
          serializationStatus.branch(TreeLogger.DEBUG, "Field serializable");
        } else {
          serializationStatus.branch(TreeLogger.DEBUG, "Not serializable");
        }
      }

      TreeLogger pathLogger = typeLogger.branch(TreeLogger.DEBUG, "Path");
View Full Code Here


        } else {
          branch.log(TreeLogger.ERROR,
              "Found resouce but unrecognized URL format: '" + foundStr + '\'');
          return false;
        }
        branch = branch.branch(logLevel, "Adding classpath entry '"
            + classPathURL + "' to the web app classpath for this session",
            null, new InstalledHelpInfo("webAppClassPath.html"));
        try {
          addClassPath(classPathURL);
          return true;
View Full Code Here

        } else {
          branch.log(TreeLogger.ERROR,
              "Found resouce but unrecognized URL format: '" + foundStr + '\'');
          return false;
        }
        branch = branch.branch(logLevel, "Adding classpath entry '"
            + classPathURL + "' to the web app classpath for this session",
            null, new InstalledHelpInfo("webAppClassPath.html"));
        try {
          addClassPath(classPathURL);
          return true;
View Full Code Here

        } else {
          branch.log(TreeLogger.ERROR,
              "Found resouce but unrecognized URL format: '" + foundStr + '\'');
          return false;
        }
        branch = branch.branch(logLevel, "Adding classpath entry '"
            + classPathURL + "' to the web app classpath for this session",
            null, new InstalledHelpInfo("webAppClassPath.html"));
        try {
          addClassPath(classPathURL);
          return true;
View Full Code Here

    boolean failed = false;
    JClassType serviceAsync = typeOracle.findType(remoteService.getQualifiedSourceName()
        + "Async");
    if (serviceAsync == null) {
      failed = true;
      branch.branch(TreeLogger.ERROR,
          "Could not find an asynchronous version for the service interface "
              + remoteService.getQualifiedSourceName(), null);
    } else {
      JMethod[] asyncMethods = serviceAsync.getOverridableMethods();
      JMethod[] syncMethods = remoteService.getOverridableMethods();
View Full Code Here

    } else {
      JMethod[] asyncMethods = serviceAsync.getOverridableMethods();
      JMethod[] syncMethods = remoteService.getOverridableMethods();

      if (asyncMethods.length != syncMethods.length) {
        branch.branch(TreeLogger.ERROR, "The asynchronous version of "
            + remoteService.getQualifiedSourceName() + " has "
            + (asyncMethods.length > syncMethods.length ? "more" : "less")
            + " methods than the synchronous version", null);
        failed = true;
      } else {
View Full Code Here

        for (int i = 0; i < syncMethods.length; ++i) {
          JMethod syncMethod = syncMethods[i];
          String asyncSig = computeAsyncMethodSignature(syncMethod);
          JMethod asyncMethod = (JMethod) asyncMethodMap.get(asyncSig);
          if (asyncMethod == null) {
            branch.branch(TreeLogger.ERROR,
                "Missing asynchronous version of the synchronous method '"
                    + syncMethod.getReadableDeclaration() + "'", null);
            failed = true;
          } else if (asyncMethod.getReturnType() != JPrimitiveType.VOID) {
            branch.branch(TreeLogger.ERROR,
View Full Code Here

            branch.branch(TreeLogger.ERROR,
                "Missing asynchronous version of the synchronous method '"
                    + syncMethod.getReadableDeclaration() + "'", null);
            failed = true;
          } else if (asyncMethod.getReturnType() != JPrimitiveType.VOID) {
            branch.branch(TreeLogger.ERROR,
                "The asynchronous version of the synchronous method '"
                    + syncMethod.getReadableDeclaration()
                    + "' must have a 'void' return type", null);
            failed = true;
          }
View Full Code Here

            ++nSubtypes;

            if (smti.isSerializable()) {
              ++nSerializableSubtypes;
            } else {
              localLogger.branch(TreeLogger.DEBUG,
                  subtype.getParameterizedQualifiedSourceName()
                      + " is not serializable", null);

              if (subtype.isLocalType() || subtype.isMemberType()
                  && !subtype.isStatic()) {
View Full Code Here

                  && !subtype.isStatic()) {
                --nSubtypes;
              }
            }
          } else {
            localLogger.branch(TreeLogger.DEBUG, "Not analyzing subclass '"
                + subtype.getParameterizedQualifiedSourceName()
                + "' because it is not assignable to '"
                + IsSerializable.class.getName() + "' or '"
                + Serializable.class.getName()
                + "' nor does it have a custom field serializer", null);
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.