Class FunctionalInterfaceLogic
- java.lang.Object
-
- com.github.javaparser.resolution.logic.FunctionalInterfaceLogic
-
public final class FunctionalInterfaceLogic extends Object
- Author:
- Federico Tomassetti
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<MethodUsage>
getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.static Optional<MethodUsage>
getFunctionalMethod(ResolvedType type)
Get the functional method defined by the type, if any.static boolean
isFunctionalInterfaceType(ResolvedType type)
-
-
-
Method Detail
-
getFunctionalMethod
public static Optional<MethodUsage> getFunctionalMethod(ResolvedType type)
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
public static boolean isFunctionalInterfaceType(ResolvedType type)
-
-