public final class FunctionalInterfaceLogic extends Object
Modifier and Type | Method and 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) |
public static Optional<MethodUsage> getFunctionalMethod(ResolvedType type)
public static Optional<MethodUsage> getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration)
public static boolean isFunctionalInterfaceType(ResolvedType type)
Copyright © 2007–2024. All rights reserved.