@Retention(value=RUNTIME) @Target(value=TYPE) public @interface DontChain
@DontChain indicates that an interface should be ignored by the
chronicle-wire MethodReader and MethodWriter
utilities. It is intended for library maintainers when excluding ancillary
APIs from tooling. Chaining increases reflection cost and can break
polymorphic dispatch.
Retention and effect: Retained at runtime but only acted upon by Chronicle tooling. It has no direct runtime behaviour.
// Chained interface
interface Service extends A, B { }
// Not chained
@DontChain
interface Helper extends A, B { }
See Jvm.dontChain(Class) for the
programmatic equivalent.
UsedViaReflectionCopyright © 2026 Chronicle Software Ltd. All rights reserved.