Class FunctionalInterfaceLogic
java.lang.Object
com.github.javaparser.resolution.logic.FunctionalInterfaceLogic
- Author:
- Federico Tomassetti
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<MethodUsage> getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration) Get the functional method defined by the type, if any.static Optional<MethodUsage> Get the functional method defined by the type, if any.static boolean
-
Method Details
-
getFunctionalMethod
Get the functional method defined by the type, if any. -
getFunctionalMethod
public static Optional<MethodUsage> getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration) Get the functional method defined by the type, if any. -
isFunctionalInterfaceType
-