- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for isPrimitive (0.44 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 15.6K bytes - Viewed (0) -
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) -
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) -
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) -
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); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} // use temporary Key as quick way to auto-box primitive types into their equivalent object types final TypeLiteral<?> boxedType = rawType.isPrimitive() ? Key.get(rawType).getTypeLiteral() : toType; for (final TypeConverterBinding b : typeConverterBindings) { if (b.getTypeMatcher().matches(boxedType)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 15.3K bytes - Viewed (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) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (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");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (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");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static void assertIsPrimitive(TypeToken<?> type) { assertTrue(type.isPrimitive()); assertNotWrapper(type); assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap()); } private static void assertNotPrimitive(TypeToken<?> type) { assertFalse(type.isPrimitive()); assertSame(type, type.wrap()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0)