Searched defs:complex (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/javax/management/monitor/
H A DAttributeArbitraryDataTypeTest.java137 // Simple type buried in complex getter
730 public static Object elementFromComplex(Object complex, String element) argument
733 if (complex.getClass().isArray() && element.equals("length")) {
734 return Array.getLength(complex);
735 } else if (complex instanceof CompositeData) {
736 return ((CompositeData) complex).get(element);
740 BeanInfo bi = java.beans.Introspector.getBeanInfo(complex.getClass());
746 return pd.getReadMethod().invoke(complex);
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DIntrospector.java519 public static Object elementFromComplex(Object complex, String element) argument
522 if (complex.getClass().isArray() && element.equals("length")) {
523 return Array.getLength(complex);
524 } else if (complex instanceof CompositeData) {
525 return ((CompositeData) complex).get(element);
529 Class<?> clazz = complex.getClass();
547 return MethodUtil.invoke(readMethod, complex, new Class[0]);

Completed in 128 milliseconds