Package net.bytebuddy.build
Annotation Interface Plugin.Factory.UsingReflection.Priority
- Enclosing class:
- Plugin.Factory.UsingReflection
@Documented
@Target(CONSTRUCTOR)
@Retention(RUNTIME)
public static @interface Plugin.Factory.UsingReflection.Priority
Indicates that a constructor should be treated with a given priority if several constructors can be resolved.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionint
Indicates the priority of the annotated constructor. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The default priority that is assumed for non-annotated constructors.
-
Field Details
-
DEFAULT
static final int DEFAULTThe default priority that is assumed for non-annotated constructors.- See Also:
-
-
Element Details
-
value
int valueIndicates the priority of the annotated constructor.- Returns:
- The priority of the annotated constructor.
-