@Target(value=TYPE)
@Retention(value=CLASS)
@Documented
public @interface Adapter
Adapter
annotation the target of the adaptation of an
Adaptable
and, optionally, the condition under which the
adaptation will produce a non-null result.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?>[] |
value
The list of classes to which the adaptable can be adapted.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
condition
The condition under which an adaptation will be successful.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.