Class BasicMethodExtractor

    • Constructor Detail

      • BasicMethodExtractor

        public BasicMethodExtractor​(Class<?> owningType)
        Creates a BasicMethodExtractor with the primary type
        Parameters:
        owningType - The primary type, owner of the proxied methods
    • Method Detail

      • getProxyableMethods

        public Collection<Method> getProxyableMethods()
        Returns all methods that can be proxied. This excludes methods that are private, static, or final.
        Returns:
        All methods that can be proxied
      • getPublicMethods

        public Collection<Method> getPublicMethods()
        Returns all public methods that are proxyable.
        Returns:
        All public methods
      • isProxyable

        protected boolean isProxyable​(Method method)
        Determines if the given method is proxyable.
        Overrides:
        isProxyable in class UnitypeMethodExtractor
        Parameters:
        method - The method to test
        Returns:
        True if method is proxyable