@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Structural
Modifier and Type | Optional Element and Description |
---|---|
Class |
factoryClass
Optional.
|
public abstract Class factoryClass
IProxyFactory
.
Note, the factory class exists to address performance and to facilitate proxies where structural interface methods
are implemented indirectly as extension methods. In the latter case a factory class is required either here in the
@Structural declaration or as a service. Note if there are more than one factory classes, they should be
provided as service implementations in the META-INF/services/manifold.ext.rt.api.IProxyFactory file, or listed in
your module's module-info.java file if you are using JDK 9+ with named modules.Copyright © 2024. All rights reserved.