- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for invokeStatic (0.07 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
/** * staticなメソッドを呼び出してその戻り値を返します。 * * @param <T> * メソッドの戻り値の型 * @param args * メソッドの引数 * @return メソッドの戻り値 */ <T> T invokeStatic(Object... args);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.4K bytes - Viewed (0)