diff options
author | Paul Duffin <paulduffin@google.com> | 2021-03-06 20:08:12 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-03-07 12:33:07 +0000 |
commit | 1d2d42f8e929b9aa4af90f4f70be516f1f734c1b (patch) | |
tree | 1e2f3e8fc5f1a5968c2eb88b92de137b9e31d510 /java/java.go | |
parent | 6d3e72688729ea72bf64f1e7dacccc5b57f384be (diff) |
Add sortableComponent abstraction
In preparation for following changes that will ensure the order of
registration (and so execution) for mutators, singletons and
pre-singletons in tests match the order in runtime this change creates
the sortableComponent interface to allow those to be sorted in the same
way without having to resort to reflection.
By moving the registration code into each component type this change
also eliminates some unnecessary duplication of that code.
Bug: 181953909
Test: m nothing
Change-Id: I597b461b966c84faaeb13e7dff765f1fadd99981
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions