- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for invokeStatic (0.05 sec)
-
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
final MethodDesc foo = beanDesc.getMethodDesc("foo"); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isStatic(), is(not(true))); foo.invokeStatic(); } /** * @throws Exception */ @Test public void testBar() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
return MethodUtil.invoke(method, target, args); } @Override public <T> T invokeStatic(final Object... args) { if (!isStatic()) { throw new MethodNotStaticRuntimeException(getBeanDesc().getBeanClass(), methodName); } return MethodUtil.invokeStatic(method, args); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
* * @param <T> * the return type of the method * @param args * the method arguments * @return the result of the method */ <T> T invokeStatic(Object... args);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* @throws InvocationTargetRuntimeException * If the underlying method throws an exception * @see Method#invoke(Object, Object[]) */ @SuppressWarnings("unchecked") public static <T> T invokeStatic(final Method method, final Object... args) throws InvocationTargetRuntimeException, IllegalAccessRuntimeException { assertArgumentNotNull("method", method);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.6K bytes - Viewed (0)