public final class FunctionalInterfaceLogic
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<com.github.javaparser.resolution.MethodUsage> |
getFunctionalMethod(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.
|
static java.util.Optional<com.github.javaparser.resolution.MethodUsage> |
getFunctionalMethod(com.github.javaparser.resolution.types.ResolvedType type)
Get the functional method defined by the type, if any.
|
static boolean |
isFunctionalInterfaceType(com.github.javaparser.resolution.types.ResolvedType type) |
public static java.util.Optional<com.github.javaparser.resolution.MethodUsage> getFunctionalMethod(com.github.javaparser.resolution.types.ResolvedType type)
public static java.util.Optional<com.github.javaparser.resolution.MethodUsage> getFunctionalMethod(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration typeDeclaration)
public static boolean isFunctionalInterfaceType(com.github.javaparser.resolution.types.ResolvedType type)