- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for invokeStatic (0.27 sec)
-
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
@Test(expected = MethodNotStaticRuntimeException.class) public void testFoo_InvokeStatic() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final MethodDesc foo = beanDesc.getMethodDesc("foo"); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isStatic(), is(not(true))); foo.invokeStatic(); } /** * @throws Exception */ @Test
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 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); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 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);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* @throws InvocationTargetRuntimeException * 基本となるメソッドが例外をスローする場合 * @see Method#invoke(Object, Object[]) */ @SuppressWarnings("unchecked") public static <T> T invokeStatic(final Method method, final Object... args) throws InvocationTargetRuntimeException, IllegalAccessRuntimeException { assertArgumentNotNull("method", method); return (T) invoke(method, null, args);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 13.8K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
ReflectorException; public Object getStaticField(Class, String) throws ReflectorException; public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class,...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 164.6K bytes - Viewed (0) -
maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
ReflectorException; public Object getStaticField(Class, String) throws ReflectorException; public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class,...
Archive - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Oct 23 23:48:02 GMT 2009 - 164.6K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
ReflectorException; public Object getStaticField(Class, String) throws ReflectorException; public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class,...
Archive - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Oct 16 20:15:40 GMT 2007 - 164.6K bytes - Viewed (0) -
maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
ReflectorException; public Object getStaticField(Class, String) throws ReflectorException; public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class,...
Archive - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Oct 16 20:15:40 GMT 2007 - 164.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
ReflectorException; public Object getStaticField(Class, String) throws ReflectorException; public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class,...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 160K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar
ReflectorException; public Object getStaticField(Class, String) throws ReflectorException; public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class,...
Archive - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Oct 16 20:15:40 GMT 2007 - 200.2K bytes - Viewed (0)