/** * Gets the initializer fields from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Field> getInitFields(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Field> retVal; try { retVal = analyzer.getFields(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getFields method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the initializer methods from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Method> getInitMethods(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Method> retVal; try { retVal = analyzer.getInitializerMethods(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getInitializerMethods method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the initializer methods from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Method> getInitMethods(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Method> retVal; try { retVal = analyzer.getInitializerMethods(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getInitializerMethods method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the initializer fields from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Field> getInitFields(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Field> retVal; try { retVal = analyzer.getFields(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getFields method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the preDestroy from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null pre-destroy method (check the collector for errors) */ public static Method getPreDestroy(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPreDestroyMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the initializer fields from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Field> getInitFields(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Field> retVal; try { retVal = analyzer.getFields(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getFields method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the initializer fields from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Field> getInitFields(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Field> retVal; try { retVal = analyzer.getFields(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getFields method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the initializer methods from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Method> getInitMethods(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Method> retVal; try { retVal = analyzer.getInitializerMethods(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getInitializerMethods method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the initializer methods from the given class and analyzer. Checks service output * * @param implClass the non-null impl class * @param analyzer the non-null analyzer * @param collector for gathering errors * @return a non-null set (even in error cases, check the collector) */ public static Set<Method> getInitMethods(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { Set<Method> retVal; try { retVal = analyzer.getInitializerMethods(implClass); } catch (MultiException me) { collector.addMultiException(me); return Collections.emptySet(); } catch (Throwable th) { collector.addThrowable(th); return Collections.emptySet(); } if (retVal == null) { collector.addThrowable(new AssertionError("null return from getInitializerMethods method of analyzer " + analyzer + " for class " + implClass.getName())); return Collections.emptySet(); } return retVal; }
/** * Gets the preDestroy from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null pre-destroy method (check the collector for errors) */ public static Method getPreDestroy(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPreDestroyMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the preDestroy from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null pre-destroy method (check the collector for errors) */ public static Method getPreDestroy(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPreDestroyMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the post construct from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null post-construct method (check the collector for errors) */ public static Method getPostConstruct(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPostConstructMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the post construct from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null post-construct method (check the collector for errors) */ public static Method getPostConstruct(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPostConstructMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the preDestroy from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null pre-destroy method (check the collector for errors) */ public static Method getPreDestroy(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPreDestroyMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the post construct from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null post-construct method (check the collector for errors) */ public static Method getPostConstruct(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPostConstructMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
/** * Gets the post construct from the analyzer, checking output * * @param implClass The non-null implementation class * @param analyzer The non-null analyzer * @param collector The non-null error collector * @return The possibly null post-construct method (check the collector for errors) */ public static Method getPostConstruct(Class<?> implClass, ClassAnalyzer analyzer, Collector collector) { try { return analyzer.getPostConstructMethod(implClass); } catch (MultiException me) { collector.addMultiException(me); return null; } catch (Throwable th) { collector.addThrowable(th); return null; } }
collector.addMultiException(me); return element;
collector.addMultiException(me); return element;
collector.addMultiException(me); return element;
collector.addMultiException(me); return element;