com.sun.tdk.signaturetest.core
Class MemberCollectionBuilder
java.lang.Object
com.sun.tdk.signaturetest.core.MemberCollectionBuilder
public class MemberCollectionBuilder
- extends java.lang.Object
This class provides methods to findByName an load a class and to compile
a ClassDescription for it. The method Class.forName()
is used to findByName a Class
object. If the advanced method
forName
(String,boolean
,ClassLoader)
is unavailable, the rougher method forName
(String) is used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemberCollectionBuilder
public MemberCollectionBuilder(Log log)
createMembers
public void createMembers(ClassDescription cl,
boolean addInherited,
boolean fixClass,
boolean checkHidding)
throws java.lang.ClassNotFoundException
- Generate
members
field for the given ClassDescription
cl
. Recursively findByName all inherited fields, methods, nested
classes, and interfaces for the class having the name prescribed by
cl
.
- Throws:
java.lang.ClassNotFoundException
- See Also:
MemberDescription
setBuildMode
public void setBuildMode(MemberCollectionBuilder.BuildMode bm)
setSecondClassHierarchy
public void setSecondClassHierarchy(ClassHierarchy signatureClassesHierarchy)