public final class FunctionalInterfaceLogic extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<MethodUsage> |
getFunctionalMethod(ReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.
|
static Optional<MethodUsage> |
getFunctionalMethod(Type type)
Get the functional method defined by the type, if any.
|
public static Optional<MethodUsage> getFunctionalMethod(Type type)
public static Optional<MethodUsage> getFunctionalMethod(ReferenceTypeDeclaration typeDeclaration)
Copyright © 2016. All rights reserved.