- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for IsInterface (0.06 seconds)
-
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
void testPublicInterfaceAndPackage() { // Arrange & Act Class<SessionSetupHandler> clazz = SessionSetupHandler.class; // Assert assertTrue(clazz.isInterface(), "Should be an interface"); assertTrue(Modifier.isPublic(clazz.getModifiers()), "Interface should be public"); assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java
// ## Arrange ## String appWebPkg = ".app.web."; String actionSuffix = "Action"; // ## Act ## policeStoryOfJavaClassChase((srcFile, clazz) -> { if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction return; } final String className = clazz.getName();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
} @Test @DisplayName("Interface structure is as expected") void interfaceStructure() { Class<?> c = SpnegoConstants.class; assertTrue(c.isInterface(), "SpnegoConstants must be an interface"); assertEquals(4, c.getDeclaredFields().length, "Unexpected number of fields"); assertEquals(0, c.getDeclaredMethods().length, "No declared methods expected");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
// Then assertTrue(Modifier.isPublic(modifiers)); assertFalse(Modifier.isAbstract(modifiers)); assertFalse(Modifier.isInterface(modifiers)); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertTrue(Modifier.isPublic(modifiers)); assertFalse(Modifier.isAbstract(modifiers)); assertFalse(Modifier.isInterface(modifiers)); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
void typeAndSignatures() throws Exception { Class<?> clazz = SmbResourceLocatorInternal.class; // Assert it's an interface and extends the right superinterface assertTrue(clazz.isInterface(), "Should be an interface"); assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Reflection.java
* interface */ public static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { checkNotNull(handler); checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType); Object object = Proxy.newProxyInstance( interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); return interfaceType.cast(object);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
*/ public ClassIterator(final Class<?> clazz, final boolean includeObject) { assertArgumentNotNull("clazz", clazz); assertArgument("clazz", !clazz.isInterface(), MessageFormatter.getSimpleMessage("ECL0103", clazz)); this.clazz = clazz; this.includeObject = includeObject; } @Override public boolean hasNext() {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
return value; } try { final Class<?> implType = getClassForImplementationHint(type, configuration, loader); if (null == value && implType.isInterface() && configuration.getChildCount() == 0) { return null; // nothing to process } final Object bean = instantiateObject(implType); if (null == value) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* is. */ public <T> void testForwarding( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { checkNotNull(wrapperFunction); checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); Method[] methods = getMostConcreteMethods(interfaceType); AccessibleObject.setAccessible(methods, true); for (Method method : methods) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0)