Visitor overview
Public Instance Properties
ReturnValue | This method is called on the first visitor (i.e. v[0]) after finish() has been called on all visitors in a traversal, and its return value is returned as the return value of the traversal. The default behavior is to do return null. |
Public Instance Methods
after | Overloaded. This method is called when a traversal has finished traversing an edge in the object graph from source to target corresponding to the class graph edge edge from sourceClass to targetClass . The default behavior is to call {@link #invokeMethods(String, Object, Class, EdgeI, Object, Class) invokeMethods}("before", source, sourceClass,
edge, target, targetClass) . |
before | Overloaded. This method is called when a traversal is about to traverse an edge in the object graph from source to target corresponding to the class graph edge edge from sourceClass to targetClass . The default behavior is to call {@link #invokeMethods(String, Object, Class, EdgeI, Object, Class) invokeMethods}("before", source, sourceClass,
edge, target, targetClass) . |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
finish | This method is called when a traversal ends, after all nodes have been visited. The default behavior is to do nothing. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
getMethod | Return the method on this class named name with parameter types paramTypes , or null if there is no such method. |
GetType (inherited from Object) | Gets the Type of the current instance. |
invokeMethod | Overloaded. Invoke the method on this class named name with parameter types paramTypes , passing args as the arguments. |
invokeMethods | |
start | This method is called when a traversal begins, before any nodes are visited. The default behavior is to do nothing. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Instance Constructors
Protected Instance Methods
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
Protected Internal Instance Methods
getUnmemoizedMethod | Return the method on this class named name with parameter types paramTypes , or null if there is no such method. |
See Also
Visitor Class | edu.neu.ccs.demeter.dCsharp Namespace