Class MethodOverrideUberspector

  • All Implemented Interfaces:
    org.apache.velocity.util.introspection.ChainableUberspector, org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.RuntimeServicesAware

    public class MethodOverrideUberspector
    extends org.apache.velocity.util.introspection.AbstractChainableUberspector
    Workaround for https://issues.apache.org/jira/browse/VELOCITY-952: call the lowest level method overridden by the one found by others uberspectors.
    Since:
    15.4RC1
    Version:
    $Id: 11555ee25234db75383d1c718afb5377f0e72226 $
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.velocity.util.introspection.UberspectImpl

        org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl, org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl, org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
    • Field Summary

      • Fields inherited from class org.apache.velocity.util.introspection.AbstractChainableUberspector

        inner
      • Fields inherited from class org.apache.velocity.util.introspection.UberspectImpl

        conversionHandler, introspector, log, rsvc
    • Constructor Detail

      • MethodOverrideUberspector

        public MethodOverrideUberspector()
    • Method Detail

      • getMethod

        public org.apache.velocity.util.introspection.VelMethod getMethod​(Object obj,
                                                                          String methodName,
                                                                          Object[] args,
                                                                          org.apache.velocity.util.introspection.Info i)
        Specified by:
        getMethod in interface org.apache.velocity.util.introspection.Uberspect
        Overrides:
        getMethod in class org.apache.velocity.util.introspection.AbstractChainableUberspector