Class RuntimeType.Verifier
java.lang.Object
net.bytebuddy.implementation.bind.annotation.RuntimeType.Verifier
- Enclosing class:
- RuntimeType
A non-instantiable type that allows to check if a method or parameter should consider a runtime type.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Verifier()
As this is merely a utility method, the constructor is not supposed to be invoked. -
Method Summary
Modifier and TypeMethodDescriptionstatic Assigner.Typing
check
(AnnotationSource annotationSource) Checks if an annotated element should be assigned a value by considering the runtime type.
-
Constructor Details
-
Verifier
private Verifier()As this is merely a utility method, the constructor is not supposed to be invoked.
-
-
Method Details
-
check
Checks if an annotated element should be assigned a value by considering the runtime type.- Parameters:
annotationSource
- The annotated element of interest.- Returns:
- Indicates if dynamic type castings should be attempted for incompatible assignments.
-