- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for isPrimitive (0.08 seconds)
-
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,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
entry.getKey().toString(), visited); } } } else if (!value.getClass().isPrimitive() && !value.getClass().getName().startsWith("java.")) { processModelNode(value, fullPath, field.getName(), visited); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* @return {@literal true} if the argument was converted to match the type */ protected static boolean adjustNumber(final Class<?>[] paramTypes, final Object[] args, final int index) { if (paramTypes[index].isPrimitive()) { if (paramTypes[index] == byte.class) { args[index] = ByteConversionUtil.toByte(args[index]); return true; } else if (paramTypes[index] == short.class) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 25.8K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} else { return TypeToken.of(instance.getClass()).method(method); } } static boolean isPrimitiveOrNullable(Parameter param) { return param.getType().getRawType().isPrimitive() || isNullable(param); } private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES = ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
} else { return TypeToken.of(instance.getClass()).method(method); } } static boolean isPrimitiveOrNullable(Parameter param) { return param.getType().getRawType().isPrimitive() || isNullable(param); } private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES = ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
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()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
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);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 15.1K bytes - Click Count (0) -
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)) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0)