com.advancedpwr.record.inspect
Class BeanInspector

java.lang.Object
  extended by com.advancedpwr.record.inspect.Inspector
      extended by com.advancedpwr.record.inspect.BeanInspector

public class BeanInspector
extends Inspector


Field Summary
 
Fields inherited from class com.advancedpwr.record.inspect.Inspector
fieldInstanceTree
 
Constructor Summary
BeanInspector()
           
 
Method Summary
protected  void addAccessPathForResult(Method inGetter, Object result)
           
protected  void addMethodAccessPath()
           
protected  AccessPath createAccessorMethodPath(Method inGetter, Object result)
           
protected  Method getCurrentMethod()
           
protected  Method getterMethod()
           
protected  String getterName()
           
protected  boolean hasGetterMethod()
           
 void inspect(InstanceTree inTree)
           
protected  Object invoke(Method getter)
           
protected  boolean isGetter(Method method)
           
protected  boolean isSetter()
           
protected  void setCurrentMethod(Method currentMethod)
           
protected  List<Method> sortedMethods()
           
 
Methods inherited from class com.advancedpwr.record.inspect.Inspector
addAccessPath, createInstanceTree, currentInstanceName, debug, getInstanceTree, getObject, objectClass, setInstanceTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanInspector

public BeanInspector()
Method Detail

sortedMethods

protected List<Method> sortedMethods()

inspect

public void inspect(InstanceTree inTree)
Specified by:
inspect in class Inspector

addMethodAccessPath

protected void addMethodAccessPath()

addAccessPathForResult

protected void addAccessPathForResult(Method inGetter,
                                      Object result)

createAccessorMethodPath

protected AccessPath createAccessorMethodPath(Method inGetter,
                                              Object result)

isSetter

protected boolean isSetter()

getterName

protected String getterName()

getterMethod

protected Method getterMethod()

isGetter

protected boolean isGetter(Method method)

hasGetterMethod

protected boolean hasGetterMethod()

getCurrentMethod

protected Method getCurrentMethod()

setCurrentMethod

protected void setCurrentMethod(Method currentMethod)

invoke

protected Object invoke(Method getter)


Copyright © 2011 Advanced Power Co. All Rights Reserved.