Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isPrimitive (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            if (actual == null && !formal.isPrimitive()) {
                return true;
            }
    
            // Check for identity or widening reference conversion
            if (formal.isAssignableFrom(actual)) {
                return true;
            }
    
            // Check for widening primitive conversion.
            if (formal.isPrimitive()) {
                if (formal == Short.TYPE && (actual == Byte.TYPE)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

            }
    
            private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                if (!PRIMITIVE_BY_CLASS.containsKey(fieldType)) {
                    PRIMITIVE_BY_CLASS.put(fieldType, fieldType.isPrimitive());
                }
    
                if (PRIMITIVE_BY_CLASS.get(fieldType)) {
                    return false;
                }
    
                return !"parent".equals(field.getName());
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

            // Bounds after the first can only be interfaces.
            if (componentType instanceof Class) {
              Class<?> componentClass = (Class<?>) componentType;
              if (componentClass.isPrimitive()) {
                return componentClass;
              }
            }
            return subtypeOf(componentType);
          }
        }
        return null;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            return new String(buf);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> T convertIfNeed(final Object arg) {
            if (propertyType.isPrimitive()) {
                return (T) convertPrimitiveWrapper(arg);
            } else if (Number.class.isAssignableFrom(propertyType)) {
                return (T) convertNumber(arg);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // to convert our primitive type signature to the
                // corresponding Object type so introspection for
                // methods with primitive types will work correctly.
                if (parameterType.isPrimitive()) {
                    if (parameterType.equals(Boolean.TYPE)) {
                        methodKey.append("java.lang.Boolean");
                    } else if (parameterType.equals(Byte.TYPE)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

            // Bounds after the first can only be interfaces.
            if (componentType instanceof Class) {
              Class<?> componentClass = (Class<?>) componentType;
              if (componentClass.isPrimitive()) {
                return componentClass;
              }
            }
            return subtypeOf(componentType);
          }
        }
        return null;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                    if (InputLocation.class.equals(fieldType)) {
                        return false;
                    }
    
                    //noinspection SimplifiableIfStatement
                    if (fieldType.isPrimitive()) {
                        return false;
                    }
    
                    return !"parent".equals(field.getName());
                }
    
                CacheItem(Class clazz) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            if (type.isInstance(value)) {
                return true;
            }
            // likely Boolean -> boolean, Short -> int etc. conversions, it's not the problem case we try to avoid
            return ((type.isPrimitive() || type.getName().startsWith("java.lang."))
                    && value.getClass().getName().startsWith("java.lang."));
        }
    
        private String stripTokens(String expr) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

                      + "Subscriber methods must have exactly 1 parameter.",
                  method,
                  parameterTypes.length);
    
              checkArgument(
                  !parameterTypes[0].isPrimitive(),
                  "@Subscribe method %s's parameter is %s. "
                      + "Subscriber methods cannot accept primitives. "
                      + "Consider changing the parameter to %s.",
                  method,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

            assertArgumentNotNull("toClass", toClass);
            assertArgumentNotNull("fromClass", fromClass);
    
            if (toClass == Object.class && !fromClass.isPrimitive()) {
                return true;
            }
            if (toClass.isPrimitive()) {
                fromClass = getPrimitiveClassIfWrapper(fromClass);
            }
            return toClass.isAssignableFrom(fromClass);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top