* @param properties The properties.
* @param clazz The class.
* @param filter The filter.
*/
protected void aggregatePotentialAccessors(List<FieldDeclaration> fields, List<PropertyDeclaration> properties, DecoratedClassDeclaration clazz, AccessorFilter filter, boolean childIsXmlTransient) {
DecoratedClassDeclaration superDeclaration = (clazz.getSuperclass() != null && clazz.getSuperclass().getDeclaration() != null) ?
(DecoratedClassDeclaration) DeclarationDecorator.decorate(clazz.getSuperclass().getDeclaration()) :
null;
if (superDeclaration != null && (isXmlTransient(superDeclaration) || childIsXmlTransient)) {
childIsXmlTransient = true;
aggregatePotentialAccessors(fields, properties, superDeclaration, filter, childIsXmlTransient);