Class FunctionalInterfaceLogic


  • public final class FunctionalInterfaceLogic
    extends java.lang.Object
    • Field Detail

      • JAVA_LANG_FUNCTIONAL_INTERFACE

        private static java.lang.String JAVA_LANG_FUNCTIONAL_INTERFACE
      • OBJECT_PUBLIC_METHODS_SIGNATURES

        private static java.util.List<java.lang.String> OBJECT_PUBLIC_METHODS_SIGNATURES
    • Constructor Detail

      • FunctionalInterfaceLogic

        private FunctionalInterfaceLogic()
    • Method Detail

      • getFunctionalMethod

        public static java.util.Optional<MethodUsage> getFunctionalMethod​(ResolvedType type)
        Get the functional method defined by the type, if any.
      • isFunctionalInterfaceType

        public static boolean isFunctionalInterfaceType​(ResolvedType type)
      • getSignature

        private static java.lang.String getSignature​(java.lang.reflect.Method m)
      • toSignature

        private static java.lang.String toSignature​(java.lang.reflect.Parameter p)
      • isPublicMemberOfObject

        private static boolean isPublicMemberOfObject​(MethodUsage m)