@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(Class<T> type) throws MultiException { final Set<Field> originalFields = defaultAnalyzer.getFields(type); final Set<Field> skippedFields = getMembersToSkip(type, fieldsToSkip); return Views.setDiffView(originalFields, skippedFields); }
@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(final Class<T> clazz) throws MultiException { return defaultAnalyzer.getFields(clazz); }
@Override public <T> Set<Field> getFields(Class<T> type) throws MultiException { final Set<Field> originalFields = defaultAnalyzer.getFields(type); final Set<Field> skippedFields = getMembersToSkip(type, fieldsToSkip); return Views.setDiffView(originalFields, skippedFields); }
@Override public <T> Set<Field> getFields(Class<T> type) throws MultiException { final Set<Field> originalFields = defaultAnalyzer.getFields(type); final Set<Field> skippedFields = getMembersToSkip(type, fieldsToSkip); return skippedFields == null ? originalFields : Sets.difference(originalFields, skippedFields); }
/** * 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 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; }