public final class FunctionalInterfaceLogic
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> |
getFunctionalMethod(com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.
|
static java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> |
getFunctionalMethod(com.github.javaparser.symbolsolver.model.typesystem.Type type)
Get the functional method defined by the type, if any.
|
public static java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> getFunctionalMethod(com.github.javaparser.symbolsolver.model.typesystem.Type type)
public static java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> getFunctionalMethod(com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration typeDeclaration)