Package org.dynalang.dynalink.beans.GuardedInvocationComponent

Examples of org.dynalang.dynalink.beans.GuardedInvocationComponent.ValidationType


                // overloaded in a subclass. Therefore, we can discover the most abstract superclass that has the
                // method, and use that as the guard with Guards.isInstance() for a more stably linked call site. If
                // we're linking against a field getter, don't make the assumption.
                // NOTE: No delegation to the next component operation if we have a property with this name, even if its
                // value is null.
                final ValidationType validationType = annGetter.validationType;
                // TODO: we aren't using the type that declares the most generic getter here!
                return new GuardedInvocationComponent(linkerServices.asType(getter, type), getGuard(validationType,
                        type), clazz, validationType);
            }
            default: {
View Full Code Here

TOP

Related Classes of org.dynalang.dynalink.beans.GuardedInvocationComponent.ValidationType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.