Package proguard.evaluation.executor
Interface Executor.Builder<T extends Executor>
-
- All Known Implementing Classes:
JavaReflectionApiExecutor.Builder
,ReflectiveModelExecutor.Builder
,StringReflectionExecutor.Builder
- Enclosing interface:
- Executor
public static interface Executor.Builder<T extends Executor>
A builder for the executor. It's important for each concrete executor to provide one in order to be able to construct a fresh copy of the executor when neededFor example this happens in
ExecutingInvocationUnit.Builder
, since each invocation unit should use different executors in order to avoid undesired side effects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
build()
Build an executor.
-
-
-
Method Detail
-
build
T build()
Build an executor. If the executor keeps internal state this method needs to guarantee that no data is shared between the different implementations (unless needed by design, e.g., for caching).
-
-