@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Structural
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class |
factoryClass
Optional.
|
public abstract java.lang.Class factoryClass
IProxyFactory.
Note the factory class is optional and exists primarily to address performance when the first time a type is cast
to a structural interface. If a factory class is not provided, Manifold dynamically generates and compiles
one at runtime, which entails a significant first-time performance hit. Thus a compile-time proxy factory provides
a way to eliminate this performance hit if and when needed.Copyright © 2021. All rights reserved.