- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 194 for setMethod (0.3 seconds)
-
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
*/ @Test public void testIsEqualsMethod() throws Exception { final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true)); final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true))); } /** * */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(clazz.getMethod("getLocator"), "Should have getLocator method"); assertNotNull(clazz.getMethod("getContext"), "Should have getContext method"); assertNotNull(clazz.getMethod("getName"), "Should have getName method"); assertNotNull(clazz.getMethod("getType"), "Should have getType method"); assertNotNull(clazz.getMethod("exists"), "Should have exists method");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
public static List<Method> getIteratorDuplicateInitializingMethods() { return asList( getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"), getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"), getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"), getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
method = Hoge.class.getMethod("list"); assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(List.class))); method = Hoge.class.getMethod("set"); assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(Set.class))); method = Hoge.class.getMethod("map");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
*/ public static Method[] getHoleMethods() { return new Method[] { getMethod(NavigableSetNavigationTester.class, "testLowerHole"), getMethod(NavigableSetNavigationTester.class, "testFloorHole"), getMethod(NavigableSetNavigationTester.class, "testCeilingHole"), getMethod(NavigableSetNavigationTester.class, "testHigherHole"), }; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
try { final Method messageMethod = CustomSize.class.getMethod("message"); assertNotNull(messageMethod, "message() method should exist"); assertEquals("message() return type should be String", String.class, messageMethod.getReturnType()); final Method groupsMethod = CustomSize.class.getMethod("groups"); assertNotNull(groupsMethod, "groups() method should exist");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
final MethodDesc foo = beanDesc.getMethodDesc("foo"); assertThat(foo, is(notNullValue())); assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo"))); assertThat(foo.getMethodName(), is("foo")); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isPublic(), is(true));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
Method parentMethod = ParentClass.class.getMethod("parentMethod"); Secured parentSecured = parentMethod.getAnnotation(Secured.class); assertNotNull(parentSecured); assertEquals("ROLE_PARENT_METHOD", parentSecured.value()[0]); // Overridden method does not inherit annotation Method childMethod = ChildClass.class.getMethod("parentMethod");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0)