Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for clazz (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            Class<?> clazz = response.getClass();
            while (clazz != null) {
                try {
                    Method method = clazz.getDeclaredMethod("readString", byte[].class, int.class, int.class, boolean.class);
                    method.setAccessible(true);
                    return method;
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  2. 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");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/converter/SqlDateConverter.java

                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
        public boolean isTarget(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
            return clazz == java.sql.Date.class;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/log/Logger.java

         *
         * @param clazz
         *            Class to be used as the logger category. Must not be {@literal null}.
         * @return {@link Logger}
         */
        public static synchronized Logger getLogger(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            if (!initialized) {
                initialize();
            }
            Logger logger = loggers.get(clazz);
            if (logger == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                try {
                    Field field = null;
                    Class<?> clazz = this.getClass();
                    while (clazz != null && field == null) {
                        try {
                            field = clazz.getDeclaredField(fieldName);
                        } catch (NoSuchFieldException e) {
                            clazz = clazz.getSuperclass();
                        }
                    }
                    if (field == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         * @param clazz the class of the file system information to return
         * @return the filesystem info cast to the specified type
         * @throws CIFSException if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
        public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

                public void handle(File srcFile, Class<?> clazz) {
                    final String webPackageKeyword = getWebPackageKeyword();
                    if (!clazz.getName().contains(webPackageKeyword) ||
                    // exclude app.web.api.admin packages
                            clazz.getName().contains(".app.web.api.admin.")) {
                        return;
                    }
                    check(srcFile, clazz, webPackageKeyword);
                }
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. guava-gwt/test/com/google/common/GwtTestSuite.java

          if (info.getName().endsWith("_gwt")) {
            Class<?> clazz = info.load();
            // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders?
            @SuppressWarnings("unchecked")
            Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz;
            suite.addTestSuite(cast);
          }
        }
        return suite;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            Class<?> clazz = response.getClass();
            while (clazz != null) {
                try {
                    Method method = clazz.getDeclaredMethod("readString", byte[].class, int.class, int.class, boolean.class);
                    method.setAccessible(true);
                    return method;
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/JclLoggerAdapterFactory.java

     *
     * @author koichik
     */
    class JclLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
        public LoggerAdapter getLoggerAdapter(final Class<?> clazz) {
            return new JclLoggerAdapter(clazz);
        }
    
        @Override
        public void releaseAll() {
            LogFactory.releaseAll();
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top