com.softsynth.jmsl.util
Class BeanInspector
java.lang.Object
com.softsynth.jmsl.util.BeanInspector
public class BeanInspector
- extends java.lang.Object
Scan the public get and set methods of a class. For each pair that match and
return/receive a primitive type, create an AccMutHolder and add to a list.
- Author:
- Nick Didkovsky 3/7/01 9:20PM
- See Also:
AccMutHolder
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanInspector
public BeanInspector()
setClassName
public void setClassName(java.lang.String s)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
buildAccessorsAndMutators
public void buildAccessorsAndMutators()
pruneMethods
public void pruneMethods()
- An accessor's return type must be primitive. Its property must be found
in mutators. The mutator must have one arg and its type must match the
return value of the accessor
getAccMutHolders
public java.util.Vector getAccMutHolders()
printAccessors
public void printAccessors()
printMutators
public void printMutators()
main
public static void main(java.lang.String[] args)