eclipse / transformer

Eclipse Transformer provides tools and runtime components that transform Java binaries, such as individual class files and complete JARs and WARs, mapping changes to Java packages, type names, and related resource names.

Home Page:https://projects.eclipse.org/projects/technology.transformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor action construction APIs

tbitonti opened this issue · comments

Ref:

/org.eclipse.transformer.bnd.analyzer/src/main/java/org/eclipse/transformer/bnd/analyzer/BaseTransformerPlugin.java

	// TODO: Still figuring out the best pattern for action and transformer
	// construction.

	ActionSelector actionSelector = transformer.getActionSelector();
	Action.ActionInitData initData = transformer.getActionInitData();
	boolean overwrite = options.hasOption(AppOption.OVERWRITE);
	AnalyzerAction analyzerAction = new AnalyzerAction(initData, actionSelector, overwrite);

	analyzerAction.apply(analyzer);

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

This issue has been automatically closed due to inactivity. If you can reproduce this or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.