summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-04-03 13:26:10 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-04-03 13:26:10 +0000
commit6f4c493ae9376fa428213835f897c12b6aa8f6c3 (patch)
tree83512ce1c9bea7baf3ddbc608677f4fe3513aff9 /dev-java/xdoclet
parentKeyworded ~mips (diff)
downloadhistorical-6f4c493ae9376fa428213835f897c12b6aa8f6c3.tar.gz
historical-6f4c493ae9376fa428213835f897c12b6aa8f6c3.tar.bz2
historical-6f4c493ae9376fa428213835f897c12b6aa8f6c3.zip
another version of the patch, fixes #87753
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/xdoclet')
-rw-r--r--dev-java/xdoclet/ChangeLog6
-rw-r--r--dev-java/xdoclet/Manifest10
-rw-r--r--dev-java/xdoclet/files/xdoclet-1.2.2-interface.patch544
3 files changed, 281 insertions, 279 deletions
diff --git a/dev-java/xdoclet/ChangeLog b/dev-java/xdoclet/ChangeLog
index 0b1332f1ae14..eea6779d6fc2 100644
--- a/dev-java/xdoclet/ChangeLog
+++ b/dev-java/xdoclet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/xdoclet
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xdoclet/ChangeLog,v 1.12 2005/04/03 04:01:35 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xdoclet/ChangeLog,v 1.13 2005/04/03 13:26:10 luckyduck Exp $
+
+ 03 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ files/xdoclet-1.2.2-interface.patch:
+ another version of the patch, fixes #87753
*xdoclet-1.2.2 (03 Apr 2005)
diff --git a/dev-java/xdoclet/Manifest b/dev-java/xdoclet/Manifest
index 36718158fb39..91c1fe8ffda2 100644
--- a/dev-java/xdoclet/Manifest
+++ b/dev-java/xdoclet/Manifest
@@ -4,17 +4,17 @@ Hash: SHA1
MD5 58192c39da8a6d39e0812a710d6d7450 xdoclet-1.2.2.ebuild 1497
MD5 da2aec9f21ea9d13774a5a0833669677 xdoclet-1.2.0_beta1.ebuild 970
MD5 95b9698b240a8e6c91880e3ceb860b92 xdoclet-1.2.1.ebuild 1601
-MD5 e8532cb3c1158f51665fbee674533acc ChangeLog 1741
+MD5 fcdbc4334683064f6fd297c9db0751c2 ChangeLog 1878
MD5 2f0b8cbc0e0adf36b678725712a3e3b7 metadata.xml 511
MD5 36b04e593588b126ef0e905e4ead4fcf files/xdoclet-1.2.2-buildfile.patch 2518
-MD5 ba866caf35dbc476ac2cf334e9b4e5f8 files/xdoclet-1.2.2-interface.patch 10839
+MD5 0c3cfa2caf87830c10fb14bc83840c98 files/xdoclet-1.2.2-interface.patch 10893
MD5 cf001749ad1559c92f75e64bf7939974 files/digest-xdoclet-1.2.0_beta1 73
MD5 6d6f9189f4ecffc98c1b539a0b647cc3 files/digest-xdoclet-1.2.1 139
MD5 5a7e75c3d62a58edfa3c2416acfbb69a files/digest-xdoclet-1.2.2 67
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCT2qq06ebR+OMO78RAkEaAJ0QTVrKA17gHH3nChHVHAxZmdMLegCeIhs1
-ZS9tTkPD5CYlHNp8OyelGNI=
-=9cip
+iD8DBQFCT+8I06ebR+OMO78RAubWAJsH4Bcj39NdwElzbIcX20I3eKXA+wCdGEzV
+1Gw1qBnJYCNjBA/K24cv4Uw=
+=M+2m
-----END PGP SIGNATURE-----
diff --git a/dev-java/xdoclet/files/xdoclet-1.2.2-interface.patch b/dev-java/xdoclet/files/xdoclet-1.2.2-interface.patch
index e1f38fa87552..d7f9c2897873 100644
--- a/dev-java/xdoclet/files/xdoclet-1.2.2-interface.patch
+++ b/dev-java/xdoclet/files/xdoclet-1.2.2-interface.patch
@@ -1,273 +1,271 @@
-Index: modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt
-===================================================================
---- modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt (.../v1.2.2) (revision 2286)
-+++ modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt (.../trunk) (revision 2286)
-@@ -1,4 +1,4 @@
-- <XDtMethod:ifHasMethodTag tagName="hibernate.property">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.property" superclasses="false">
- <property
- name="<XDtMethod:propertyName />"
- type="<XDtMethod:methodTagValue tagName="hibernate.property" paramName="type" default="<XDtMethod:methodType/>"/>"
-@@ -20,7 +20,7 @@
- </XDtHibernate:setCurrentTag>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one" superclasses="false">
- <many-to-one
- name="<XDtMethod:propertyName/>"
- class="<XDtMethod:methodTagValue tagName="hibernate.many-to-one" paramName="class" default="<XDtMethod:methodType/>" />"
-@@ -43,7 +43,7 @@
- </XDtHibernate:setCurrentTag>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.one-to-one">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.one-to-one" superclasses="false">
- <one-to-one
- name="<XDtMethod:propertyName/>"
- class="<XDtMethod:methodTagValue tagName="hibernate.one-to-one" paramName="class" default="<XDtMethod:methodType/>"/>"
-@@ -59,7 +59,7 @@
- />
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.component">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.component" superclasses="false">
- <component
- name="<XDtMethod:propertyName />"
- class="<XDtMethod:methodTagValue tagName="hibernate.component" paramName="class" default="<XDtMethod:methodType/>"/>"
-@@ -84,7 +84,7 @@
- />
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.set">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.set" superclasses="false">
- <set
- <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
- <XDtMethod:ifHasMethodTag tagName="hibernate.set" paramName="table">
-@@ -114,7 +114,7 @@
- </set>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.bag">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.bag" superclasses="false">
- <bag
- <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
- <XDtMethod:ifHasMethodTag tagName="hibernate.bag" paramName="table">
-@@ -143,7 +143,7 @@
- </bag>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.list">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.list" superclasses="false">
- <list
- <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
- <XDtMethod:ifHasMethodTag tagName="hibernate.list" paramName="table">
-@@ -166,7 +166,7 @@
- </list>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.map">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.map" superclasses="false">
- <map
- <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
- <XDtMethod:ifHasMethodTag tagName="hibernate.map" paramName="table">
-@@ -193,7 +193,7 @@
- </map>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.array">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.array" superclasses="false">
- <array
- <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
- <XDtMethod:ifHasMethodTag tagName="hibernate.array" paramName="table">
-@@ -218,7 +218,7 @@
- </array>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.primitive-array">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.primitive-array" superclasses="false">
- <primitive-array
- <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
- <XDtMethod:ifHasMethodTag tagName="hibernate.primitive-array" paramName="table">
-@@ -236,7 +236,7 @@
- </primitive-array>
- </XDtMethod:ifHasMethodTag>
-
-- <XDtMethod:ifHasMethodTag tagName="hibernate.any">
-+ <XDtMethod:ifHasMethodTag tagName="hibernate.any" superclasses="false">
- <any
- name="<XDtMethod:propertyName />"
- id-type="<XDtMethod:methodTagValue tagName="hibernate.any" paramName="id-type"/>"
-Index: modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java
-===================================================================
---- modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java (.../v1.2.2) (revision 2286)
-+++ modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java (.../trunk) (revision 2286)
-@@ -4,10 +4,7 @@
- */
- package xdoclet.modules.hibernate;
-
--import java.util.Collection;
--import java.util.Iterator;
--import java.util.LinkedList;
--import java.util.Properties;
-+import java.util.*;
-
- import org.apache.commons.logging.Log;
- import org.apache.tools.ant.types.Parameter;
-@@ -48,6 +45,18 @@
-
- private Parameter currentOtherMapping;
-
-+ private static boolean isHibernated(XClass xClass)
-+ {
-+ if (xClass == null) {
-+ return false;
-+ }
-+
-+ return (
-+ xClass.getDoc().getTag("hibernate.class") != null ||
-+ xClass.getDoc().getTag("hibernate.subclass") != null
-+ );
-+ }
-+
- /**
- * Returns full path of hibernate file for the current class.
- *
-@@ -594,9 +603,11 @@
- log.debug("typeName=" + typeName);
-
- Collection classes = getXJavaDoc().getSourceClasses();
-+ List reorderedClasses = flattenHierachy(getCurrentClass(), classes);
-+
- XClass clazz;
-
-- for (Iterator i = classes.iterator(); i.hasNext(); ) {
-+ for (Iterator i = reorderedClasses.iterator(); i.hasNext(); ) {
- clazz = (XClass) i.next();
-
- log.debug("clazz=" + clazz);
-@@ -604,8 +615,13 @@
- if (DocletSupport.isDocletGenerated(clazz)) {
- log.debug("isDocletGenerated");
- }
-- else if (clazz.getSuperclass() != null && clazz.getSuperclass().getQualifiedName().equals(typeName)) {
-- log.debug("is a subclass");
-+ else if (isValidSubclass(clazz, getCurrentClass())) {
-+ if (getCurrentClass().isInterface()) {
-+ log.debug("is an implementing class");
-+ }
-+ else {
-+ log.debug("is a subclass");
-+ }
-
- XClass current = getCurrentClass();
-
-@@ -735,10 +751,108 @@
- //TODO: Why do we need this!!??
- }
-
-+ private boolean isValidSubclass(XClass clazz, XClass currentClass)
-+ {
-+ String typeName = currentClass.getQualifiedName();
-+
-+ // easy case, clazz is implementing interface of hibernated class
-+ // NB: not easy anymore, if we've got a hibernated interface hierachy
-+ // only return true for "deepest" implemented interface in this hierachy
-+ if (currentClass.isInterface() && clazz.isImplementingInterface(typeName)) {
-+ List extending = currentClass.getExtendingInterfaces();
-+
-+ if (extending.isEmpty()) {
-+ return true;
-+ }
-+
-+ for (int i = 0; i < extending.size(); i++) {
-+ XClass xClass = (XClass) extending.get(i);
-+
-+ if (isHibernated(xClass) && clazz.isImplementingInterface(xClass.getQualifiedName())) {
-+ // we found an interface deeper in the hierachy
-+ return false;
-+ }
-+ }
-+ return true;
-+ }
-+
-+ if (clazz.getSuperclass() != null) {
-+ // easy case, this class is direct subclass of the hibernated type
-+ if (clazz.getSuperclass().equals(typeName)) {
-+ return true;
-+ }
-+ else {
-+ // go up class hierarchy to find first hibernate tag
-+ XClass xc = clazz;
-+
-+ do {
-+ xc = xc.getSuperclass();
-+
-+ } while (xc != null && !isHibernated(xc));
-+
-+ // did we find a valid superclass, is it the current ?
-+ if (xc != null) {
-+ return xc.equals(currentClass);
-+ }
-+ }
-+ }
-+
-+ return false;
-+ }
-+
- private HibernateSubTask getHibernateSubTask()
- {
- return ((HibernateSubTask) (DocletContext.getInstance()
- .getSubTaskBy(DocletTask.getSubTaskName(HibernateSubTask.class))));
- }
-+
-+ /**
-+ * Flattens the collection of classes by eliminating descendants (for hibernated non
-+ * interface classes).
-+ *
-+ * @param currentClass
-+ * @param classes
-+ * @return
-+ */
-+ private List flattenHierachy(XClass currentClass, Collection classes)
-+ {
-+ Log log = LogUtil.getLog(HibernateTagsHandler.class, "flattenHierachy");
-+
-+ log.debug("for class " + currentClass);
-+
-+ if (!currentClass.isInterface()) {
-+ List l = new ArrayList(classes);
-+
-+ l.retainAll(currentClass.getAllSubclasses());
-+ return l;
-+ }
-+
-+ Set s = new HashSet(classes);
-+
-+ log.debug("initial set size: " + s.size());
-+
-+ for (Iterator iterator = classes.iterator(); iterator.hasNext(); ) {
-+ XClass xClass = (XClass) iterator.next();
-+
-+ if (xClass.isInterface() || !isHibernated(xClass)) {
-+ continue;
-+ }
-+
-+ List subClasses = xClass.getAllSubclasses();
-+
-+ for (int i = 0; i < subClasses.size(); i++) {
-+ XClass aClass = (XClass) subClasses.get(i);
-+
-+ if (s.contains(aClass)) {
-+ log.debug("removing " + aClass + " from set");
-+ s.remove(aClass);
-+ }
-+ }
-+ }
-+
-+ log.debug("new set size: " + s.size());
-+
-+ return new ArrayList(s);
-+ }
- }
-
+diff -uprN xdoclet-1.2.2.orig/modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java xdoclet-1.2.2/modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java
+--- xdoclet-1.2.2.orig/modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java 2004-10-14 04:39:06.000000000 +0200
++++ xdoclet-1.2.2/modules/hibernate/src/xdoclet/modules/hibernate/HibernateTagsHandler.java 2005-04-03 15:20:31.000000000 +0200
+@@ -4,10 +4,7 @@
+ */
+ package xdoclet.modules.hibernate;
+
+-import java.util.Collection;
+-import java.util.Iterator;
+-import java.util.LinkedList;
+-import java.util.Properties;
++import java.util.*;
+
+ import org.apache.commons.logging.Log;
+ import org.apache.tools.ant.types.Parameter;
+@@ -48,6 +45,18 @@ public class HibernateTagsHandler
+
+ private Parameter currentOtherMapping;
+
++ private static boolean isHibernated(XClass xClass)
++ {
++ if (xClass == null) {
++ return false;
++ }
++
++ return (
++ xClass.getDoc().getTag("hibernate.class") != null ||
++ xClass.getDoc().getTag("hibernate.subclass") != null
++ );
++ }
++
+ /**
+ * Returns full path of hibernate file for the current class.
+ *
+@@ -594,9 +603,11 @@ public class HibernateTagsHandler
+ log.debug("typeName=" + typeName);
+
+ Collection classes = getXJavaDoc().getSourceClasses();
++ List reorderedClasses = flattenHierachy(getCurrentClass(), classes);
++
+ XClass clazz;
+
+- for (Iterator i = classes.iterator(); i.hasNext(); ) {
++ for (Iterator i = reorderedClasses.iterator(); i.hasNext(); ) {
+ clazz = (XClass) i.next();
+
+ log.debug("clazz=" + clazz);
+@@ -604,8 +615,13 @@ public class HibernateTagsHandler
+ if (DocletSupport.isDocletGenerated(clazz)) {
+ log.debug("isDocletGenerated");
+ }
+- else if (clazz.getSuperclass() != null && clazz.getSuperclass().getQualifiedName().equals(typeName)) {
+- log.debug("is a subclass");
++ else if (isValidSubclass(clazz, getCurrentClass())) {
++ if (getCurrentClass().isInterface()) {
++ log.debug("is an implementing class");
++ }
++ else {
++ log.debug("is a subclass");
++ }
+
+ XClass current = getCurrentClass();
+
+@@ -735,10 +751,108 @@ public class HibernateTagsHandler
+ //TODO: Why do we need this!!??
+ }
+
++ private boolean isValidSubclass(XClass clazz, XClass currentClass)
++ {
++ String typeName = currentClass.getQualifiedName();
++
++ // easy case, clazz is implementing interface of hibernated class
++ // NB: not easy anymore, if we've got a hibernated interface hierachy
++ // only return true for "deepest" implemented interface in this hierachy
++ if (currentClass.isInterface() && clazz.isImplementingInterface(typeName)) {
++ List extending = currentClass.getExtendingInterfaces();
++
++ if (extending.isEmpty()) {
++ return true;
++ }
++
++ for (int i = 0; i < extending.size(); i++) {
++ XClass xClass = (XClass) extending.get(i);
++
++ if (isHibernated(xClass) && clazz.isImplementingInterface(xClass.getQualifiedName())) {
++ // we found an interface deeper in the hierachy
++ return false;
++ }
++ }
++ return true;
++ }
++
++ if (clazz.getSuperclass() != null) {
++ // easy case, this class is direct subclass of the hibernated type
++ if (clazz.getSuperclass().equals(typeName)) {
++ return true;
++ }
++ else {
++ // go up class hierarchy to find first hibernate tag
++ XClass xc = clazz;
++
++ do {
++ xc = xc.getSuperclass();
++
++ } while (xc != null && !isHibernated(xc));
++
++ // did we find a valid superclass, is it the current ?
++ if (xc != null) {
++ return xc.equals(currentClass);
++ }
++ }
++ }
++
++ return false;
++ }
++
+ private HibernateSubTask getHibernateSubTask()
+ {
+ return ((HibernateSubTask) (DocletContext.getInstance()
+ .getSubTaskBy(DocletTask.getSubTaskName(HibernateSubTask.class))));
+ }
++
++ /**
++ * Flattens the collection of classes by eliminating descendants (for hibernated non
++ * interface classes).
++ *
++ * @param currentClass
++ * @param classes
++ * @return
++ */
++ private List flattenHierachy(XClass currentClass, Collection classes)
++ {
++ Log log = LogUtil.getLog(HibernateTagsHandler.class, "flattenHierachy");
++
++ log.debug("for class " + currentClass);
++
++ if (!currentClass.isInterface()) {
++ List l = new ArrayList(classes);
++
++ l.retainAll(currentClass.getAllSubclasses());
++ return l;
++ }
++
++ Set s = new HashSet(classes);
++
++ log.debug("initial set size: " + s.size());
++
++ for (Iterator iterator = classes.iterator(); iterator.hasNext(); ) {
++ XClass xClass = (XClass) iterator.next();
++
++ if (xClass.isInterface() || !isHibernated(xClass)) {
++ continue;
++ }
++
++ List subClasses = xClass.getAllSubclasses();
++
++ for (int i = 0; i < subClasses.size(); i++) {
++ XClass aClass = (XClass) subClasses.get(i);
++
++ if (s.contains(aClass)) {
++ log.debug("removing " + aClass + " from set");
++ s.remove(aClass);
++ }
++ }
++ }
++
++ log.debug("new set size: " + s.size());
++
++ return new ArrayList(s);
++ }
+ }
+
+diff -uprN xdoclet-1.2.2.orig/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt xdoclet-1.2.2/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt
+--- xdoclet-1.2.2.orig/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt 2004-10-10 11:43:05.000000000 +0200
++++ xdoclet-1.2.2/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-properties.xdt 2005-04-03 15:20:31.000000000 +0200
+@@ -1,4 +1,4 @@
+- <XDtMethod:ifHasMethodTag tagName="hibernate.property">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.property" superclasses="false">
+ <property
+ name="<XDtMethod:propertyName />"
+ type="<XDtMethod:methodTagValue tagName="hibernate.property" paramName="type" default="<XDtMethod:methodType/>"/>"
+@@ -20,7 +20,7 @@
+ </XDtHibernate:setCurrentTag>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one" superclasses="false">
+ <many-to-one
+ name="<XDtMethod:propertyName/>"
+ class="<XDtMethod:methodTagValue tagName="hibernate.many-to-one" paramName="class" default="<XDtMethod:methodType/>" />"
+@@ -43,7 +43,7 @@
+ </XDtHibernate:setCurrentTag>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.one-to-one">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.one-to-one" superclasses="false">
+ <one-to-one
+ name="<XDtMethod:propertyName/>"
+ class="<XDtMethod:methodTagValue tagName="hibernate.one-to-one" paramName="class" default="<XDtMethod:methodType/>"/>"
+@@ -59,7 +59,7 @@
+ />
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.component">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.component" superclasses="false">
+ <component
+ name="<XDtMethod:propertyName />"
+ class="<XDtMethod:methodTagValue tagName="hibernate.component" paramName="class" default="<XDtMethod:methodType/>"/>"
+@@ -84,7 +84,7 @@
+ />
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.set">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.set" superclasses="false">
+ <set
+ <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
+ <XDtMethod:ifHasMethodTag tagName="hibernate.set" paramName="table">
+@@ -114,7 +114,7 @@
+ </set>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.bag">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.bag" superclasses="false">
+ <bag
+ <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
+ <XDtMethod:ifHasMethodTag tagName="hibernate.bag" paramName="table">
+@@ -143,7 +143,7 @@
+ </bag>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.list">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.list" superclasses="false">
+ <list
+ <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
+ <XDtMethod:ifHasMethodTag tagName="hibernate.list" paramName="table">
+@@ -166,7 +166,7 @@
+ </list>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.map">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.map" superclasses="false">
+ <map
+ <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
+ <XDtMethod:ifHasMethodTag tagName="hibernate.map" paramName="table">
+@@ -193,7 +193,7 @@
+ </map>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.array">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.array" superclasses="false">
+ <array
+ <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
+ <XDtMethod:ifHasMethodTag tagName="hibernate.array" paramName="table">
+@@ -218,7 +218,7 @@
+ </array>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.primitive-array">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.primitive-array" superclasses="false">
+ <primitive-array
+ <XDtHibernate:roleAttribute/>="<XDtMethod:propertyName/>"
+ <XDtMethod:ifHasMethodTag tagName="hibernate.primitive-array" paramName="table">
+@@ -236,7 +236,7 @@
+ </primitive-array>
+ </XDtMethod:ifHasMethodTag>
+
+- <XDtMethod:ifHasMethodTag tagName="hibernate.any">
++ <XDtMethod:ifHasMethodTag tagName="hibernate.any" superclasses="false">
+ <any
+ name="<XDtMethod:propertyName />"
+ id-type="<XDtMethod:methodTagValue tagName="hibernate.any" paramName="id-type"/>"