Class 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.
    • Method Detail

      • 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.