- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for invokeStatic (0.06 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)