org.srplib.reflection.objectgraph.Element Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of srp-reflection-support Show documentation
Show all versions of srp-reflection-support Show documentation
Single Responsibility Principle (SRP) libraries collection
package org.srplib.reflection.objectgraph;
/**
* An interface of visitable structure in Visitor pattern.
*
* @author Anton Pechinsky
* @deprecated use org.srplib.visitor package
*/
@Deprecated
public interface Element {
/**
* Implementing classes should call this method on each node of encapsulated structure.
*
* @param visitor Visitor visitor
*/
void accept(Visitor visitor);
}