Home
last modified time | relevance | path

Searched refs:resultClass (Results 1 – 5 of 5) sorted by relevance

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java67 public <T> T resolveDeclaration(Node node, Class<T> resultClass) { in resolveDeclaration() argument
69 … return resultClass.cast(new JavaParserMethodDeclaration((MethodDeclaration) node, typeSolver)); in resolveDeclaration()
73 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
74 return resultClass.cast(resolved); in resolveDeclaration()
79 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
80 return resultClass.cast(resolved); in resolveDeclaration()
86 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
87 return resultClass.cast(resolved); in resolveDeclaration()
99 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
100 return resultClass.cast(resolved); in resolveDeclaration()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/
DSymbolResolver.java34 <T> T resolveDeclaration(Node node, Class<T> resultClass); in resolveDeclaration() argument
39 <T> T toResolvedType(Type javaparserType, Class<T> resultClass); in toResolvedType() argument
/external/javaparser/javaparser-core-serialization/src/test/java/com/github/javaparser/serialization/
DJavaParserJsonDeserializerTest.java186 public <T> T resolveDeclaration(Node node, Class<T> resultClass) { in testAttachingSymbolResolver()
191 public <T> T toResolvedType(Type javaparserType, Class<T> resultClass) { in testAttachingSymbolResolver()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp60 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod() local
61 assert(resultClass && "unexpected object type!"); in checkInitMethod()
65 if (!resultClass->hasDefinition()) { in checkInitMethod()
90 if (receiverClass->isSuperClassOf(resultClass) || in checkInitMethod()
91 resultClass->isSuperClassOf(receiverClass)) in checkInitMethod()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp60 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod() local
61 assert(resultClass && "unexpected object type!"); in checkInitMethod()
65 if (!resultClass->hasDefinition()) { in checkInitMethod()
90 if (receiverClass->isSuperClassOf(resultClass) || in checkInitMethod()
91 resultClass->isSuperClassOf(receiverClass)) in checkInitMethod()