Class RuntimeType.Verifier

java.lang.Object
net.bytebuddy.implementation.bind.annotation.RuntimeType.Verifier
Enclosing class:
RuntimeType

public static final class RuntimeType.Verifier extends Object
A non-instantiable type that allows to check if a method or parameter should consider a 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

      public static Assigner.Typing check(AnnotationSource annotationSource)
      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.