OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getFunctionalMethod
(Results
1 - 7
of
7
) sorted by null
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/logic/
FunctionInterfaceLogicTest.java
38
assertEquals(false, FunctionalInterfaceLogic.
getFunctionalMethod
(string).isPresent());
45
assertEquals(true, FunctionalInterfaceLogic.
getFunctionalMethod
(function).isPresent());
46
assertEquals("apply", FunctionalInterfaceLogic.
getFunctionalMethod
(function).get().getName());
48
assertEquals(true, FunctionalInterfaceLogic.
getFunctionalMethod
(consumer).isPresent());
49
assertEquals("accept", FunctionalInterfaceLogic.
getFunctionalMethod
(consumer).get().getName());
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
FunctionalInterfaceLogic.java
43
public static Optional<MethodUsage>
getFunctionalMethod
(ResolvedType type) {
45
return
getFunctionalMethod
(type.asReferenceType().getTypeDeclaration());
54
public static Optional<MethodUsage>
getFunctionalMethod
(ResolvedReferenceTypeDeclaration typeDeclaration) {
71
return
getFunctionalMethod
(type).isPresent();
AbstractTypeDeclaration.java
61
return FunctionalInterfaceLogic.
getFunctionalMethod
(this).isPresent();
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
LambdaExprContext.java
69
Optional<MethodUsage> functionalMethodOpt = FunctionalInterfaceLogic.
getFunctionalMethod
(lambdaType);
106
Optional<MethodUsage> functionalMethod = FunctionalInterfaceLogic.
getFunctionalMethod
(t);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
TypeExtractor.java
407
Optional<MethodUsage> functionalMethod = FunctionalInterfaceLogic.
getFunctionalMethod
(result);
492
if (FunctionalInterfaceLogic.
getFunctionalMethod
(result).isPresent()) {
496
ResolvedType formalType = FunctionalInterfaceLogic.
getFunctionalMethod
(result).get().returnType();
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
ReflectionClassAdapter.java
175
return FunctionalInterfaceLogic.
getFunctionalMethod
(typeDeclaration).isPresent();
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
TypeHelper.java
385
Optional<MethodUsage> mu = FunctionalInterfaceLogic.
getFunctionalMethod
(type);
Completed in 792 milliseconds