Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for findMethod (0.05 seconds)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            Method updateMethod = findMethod(transport.getClass(), "updatePreauthHash", byte[].class);
            updateMethod.setAccessible(true);
    
            byte[] testData = new byte[64];
    
            assertThrows(Exception.class, () -> {
                updateMethod.invoke(transport, testData);
            });
    
            // Verify hash was reset
            Method resetMethod = findMethod(transport.getClass(), "resetPreauthHash");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            }
    
            MethodMetaData method = findMethod(methodSignature, targetClass);
            if (method == null) {
                return null;
            }
    
            return linkRenderer.link(method, listener);
        }
    
        private MethodMetaData findMethod(String name, ClassMetaData targetClass) {
            List<MethodMetaData> candidates = new ArrayList<MethodMetaData>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * @param name Method name.
         * @param params Method parameters.
         * @return The found method.
         * @throws MethodMap.AmbiguousException in case of duplicate methods.
         */
        public Method findMethod(String name, Object... params) throws MethodMap.AmbiguousException {
            String methodKey = makeMethodKey(name, params);
            Object cacheEntry = methodCache.get(methodKey);
    
            if (cacheEntry == CACHE_MISS) {
    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)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            String methodBase = Character.toTitleCase(property.charAt(0)) + property.substring(1);
            try {
                for (String prefix : Arrays.asList("get", "is", "to", "as")) {
                    Method method = classMap.findMethod(prefix + methodBase);
                    if (method != null) {
                        return method.invoke(value, OBJECT_ARGS);
                    }
                }
                return null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top