@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Adapts
adaptTo()
method of a ToolKit entity,
such as a Source
or a Target
.
The annotated class must expose a public constructor that accepts a single argument - an instance of the matched entity,
e.g. public MyAdapter(Source source) {...}
public abstract Class<?> value
Source
or a Target
, that can be adapted to the underlying custom classClass<?>
value, non-nullCopyright © 2024 Exadel, Inc.. All rights reserved.