org.fiolino.common.analyzing.Analyzeable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
General structure to easily create dynamic logic via MethodHandles and others.
package org.fiolino.common.analyzing;
import org.fiolino.common.processing.ModelDescription;
import java.lang.invoke.MethodHandles;
/**
* Created by Michael Kuhlmann on 15.12.2015.
*/
public abstract class Analyzeable {
protected MethodHandles.Lookup getLookup() {
return MethodHandles.lookup();
}
protected void preAnalyze(ModelDescription modelDescription) {
// Do nothing
}
protected void postAnalyze(ModelDescription modelDescription) {
// Do nothing
}
}