- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 523 for getClass (0.04 sec)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
resolveClass(clazz); } return clazz; } return super.loadClass(name, resolve); } } @Test public void testGetFinalizerUrl() { assertThat(getClass().getResource("internal/Finalizer.class")).isNotNull(); } @Test public void testFinalizeClassHasNoNestedClasses() throws Exception { // Ensure that the Finalizer class has no nested classes.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
PrintWriter pw = new PrintWriter(sw); e.printStackTrace(pw); String stackTrace = sw.toString(); String fullMessage = message + "\n" + "Exception: " + e.getClass().getName() + "\n" + "Message: " + e.getMessage() + "\n" + "Stack trace:\n" + stackTrace; processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, fullMessage); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
* @see jcifs.DfsReferralData#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends DfsReferralData> T unwrap(final Class<T> type) { if (type.isAssignableFrom(this.getClass())) { return (T) this; } throw new ClassCastException(); } @Override public long getExpiration() { return this.expiration; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
* @throws Exception */ @Test public void testPackagePrivateBean() throws Exception { final MogeBean moge = MogeBeanFactory.create("moge"); final BeanDesc beanDesc = new BeanDescImpl(moge.getClass()); final PropertyDesc propDesc = beanDesc.getPropertyDesc("name"); assertThat(propDesc, is(notNullValue())); assertThat((String) propDesc.getValue(moge), is("moge")); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
if (logger.isDebugEnabled()) { logger.debug("Loaded DataStore: name={}", name); } dataStoreMap.put(name.toLowerCase(Locale.ROOT), dataStore); dataStoreMap.put(dataStore.getClass().getSimpleName().toLowerCase(Locale.ROOT), dataStore); } /** * Retrieves a data store instance by name. * The lookup is case-insensitive and will match both registered names
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException { if (!type.isInstance(object)) { throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass()); } return type.cast(object); } /** * Gets the next element from an enumeration and casts it to the specified type * @param <T> the target type
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
} // 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) { if (expr.startsWith("${") && (expr.indexOf('}') == expr.length() - 1)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} assertEquals(expectedResult, actualResult); if (expectedRuntimeException != null) { assertThat(actualRuntimeException).isNotNull(); assertEquals(expectedRuntimeException.getClass(), actualRuntimeException.getClass()); } } @J2ktIncompatible @GwtIncompatible // SerializableTester private static void checkSerialization(Predicate<? super @Nullable Integer> predicate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
} catch (final OfficeException e) { throw new CrawlerSystemException("Failed to start officeManager.", e); } if (logger.isDebugEnabled()) { logger.debug(officeManager.getClass().getSimpleName() + " is started."); } } /** * Destroys the extractor by stopping the office manager. * * @throws CrawlerSystemException if the office manager fails to stop
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 10.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
ArtifactRepositoryLayout layout = delegate.getLayout(); repo = new LocalRepository( new File(delegate.getBasedir()), (layout != null) ? layout.getClass().getSimpleName() : "legacy"); /* * NOTE: "invoker:install" vs "appassembler:assemble": Both mojos use the artifact installer to put an artifactRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.1K bytes - Viewed (0)