- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getArguments (0.07 sec)
-
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
assertThat(desc.getRawClass(), is(sameClass(Map.class))); final ParameterizedClassDesc[] args = desc.getArguments(); assertThat(args.length, is(2)); final ParameterizedClassDesc arg1 = args[0]; assertThat(arg1.getRawClass(), is(sameClass(String.class))); assertThat(arg1.getArguments(), is(nullValue())); final ParameterizedClassDesc arg2 = args[1];
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
ParameterizedClassDesc pcd = pd.getParameterizedClassDesc(); assertThat(pcd.getRawClass(), is(sameClass(Map.class))); assertThat(pcd.getArguments().length, is(2)); assertThat(pcd.getArguments()[0].getRawClass(), is(sameClass(String.class))); assertThat(pcd.getArguments()[1].getRawClass(), is(sameClass(Date.class))); pd = bd.getPropertyDesc("hege"); assertThat(pd.isParameterized(), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java
if (!Collection.class.isAssignableFrom(parameterTypes[index]) || !isParameterized(index)) { return null; } final ParameterizedClassDesc pcd = parameterizedClassDescs[index].getArguments()[0]; if (pcd == null) { return null; } return pcd.getRawClass(); } @Override public Class<?> getKeyClassOfMap(final int index) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
if (!Collection.class.isAssignableFrom(parameterTypes[index]) || !isParameterized(index)) { return null; } final ParameterizedClassDesc pcd = parameterizedClassDescs[index].getArguments()[0]; if (pcd == null) { return null; } return pcd.getRawClass(); } @Override public Class<?> getKeyClassOfMap(final int index) {
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/impl/ParameterizedClassDescImpl.java
this.rawClass = rawClass; } @Override public ParameterizedClassDesc[] getArguments() { return arguments; } /** * 型引数を表す{@link ParameterizedClassDesc}の配列を設定します。 * * @param arguments * 型引数を表す{@link ParameterizedClassDesc}の配列 */ public void setArguments(final ParameterizedClassDesc[] arguments) { this.arguments = arguments; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
if (!Collection.class.isAssignableFrom(propertyType) || !isParameterized()) { return null; } final ParameterizedClassDesc pcd = parameterizedClassDesc.getArguments()[0]; if (pcd == null) { return null; } return pcd.getRawClass(); } @Override public Class<?> getKeyClassOfMap() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java
* </p> * * @return 型引数を表す{@link ParameterizedClassDesc}の配列 * @see ParameterizedType#getActualTypeArguments() */ ParameterizedClassDesc[] getArguments();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
for (final Indexed<Type> parameterType : indexed(iterable(parameterTypes))) { parameterDescs[parameterType.getIndex()] = createParameterizedClassDesc(parameterType.getElement(), map); } desc.setArguments(parameterDescs); return desc; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
for (int i = 0; i < parameterTypes.length; ++i) { parameterDescs[i] = createParameterizedClassDesc(parameterTypes[i], map); } desc.setArguments(parameterDescs); return desc; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0)