Home
last modified time | relevance | path

Searched refs:parentClass (Results 1 – 12 of 12) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DFieldDeclaration.java195 … ClassOrInterfaceDeclaration parentClass = getParentNodeOfType(ClassOrInterfaceDeclaration.class); in createGetter() local
197 …if ((parentClass == null && parentEnum == null) || (parentClass != null && parentClass.isInterface… in createGetter()
205 if (parentClass != null) in createGetter()
206 getter = parentClass.addMethod("get" + fieldNameUpper, PUBLIC); in createGetter()
227 … ClassOrInterfaceDeclaration parentClass = getParentNodeOfType(ClassOrInterfaceDeclaration.class); in createSetter() local
229 …if ((parentClass == null && parentEnum == null) || (parentClass != null && parentClass.isInterface… in createSetter()
238 if (parentClass != null) in createSetter()
239 setter = parentClass.addMethod("set" + fieldNameUpper, PUBLIC); in createSetter()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DFieldDeclaration.java176 …Optional<ClassOrInterfaceDeclaration> parentClass = findAncestor(ClassOrInterfaceDeclaration.class… in createGetter() local
178 …if (!(parentClass.isPresent() || parentEnum.isPresent()) || (parentClass.isPresent() && parentClas… in createGetter()
184 …getter = parentClass.map(clazz -> clazz.addMethod("get" + fieldNameUpper, Modifier.Keyword.PUBLIC)… in createGetter()
203 …Optional<ClassOrInterfaceDeclaration> parentClass = findAncestor(ClassOrInterfaceDeclaration.class… in createSetter() local
205 …if (!(parentClass.isPresent() || parentEnum.isPresent()) || (parentClass.isPresent() && parentClas… in createSetter()
211 …setter = parentClass.map(clazz -> clazz.addMethod("set" + fieldNameUpper, Modifier.Keyword.PUBLIC)… in createSetter()
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTween.java406 Class<?> parentClass = target.getClass().getSuperclass(); in findTargetClass()
407 while (parentClass != null && !registeredAccessors.containsKey(parentClass)) in findTargetClass()
408 parentClass = parentClass.getSuperclass(); in findTargetClass()
410 return parentClass; in findTargetClass()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DControlFlowLogic.java89 private <P extends Node> boolean parentIs(Node node, Class<P> parentClass) { in parentIs() argument
91 return parentClass.isInstance(node.getParentNode().get()); in parentIs()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_body_FieldDeclaration.txt29 …Line 197) parentClass.isInterface() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclaration…
38 …Line 206) parentClass.addMethod("get" + fieldNameUpper, PUBLIC) ==> com.github.javaparser.ast.node…
49 …Line 229) parentClass.isInterface() ==> com.github.javaparser.ast.body.ClassOrInterfaceDeclaration…
58 …Line 239) parentClass.addMethod("set" + fieldNameUpper, PUBLIC) ==> com.github.javaparser.ast.node…
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethod.java208 @NotNull @Override public PsiMethod[] findSuperMethods(PsiClass parentClass) { in findSuperMethods() argument
209 return PsiSuperMethodImplUtil.findSuperMethods(this, parentClass); in findSuperMethods()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogic.java980 …private static <P extends Node, C extends Node> boolean whenParentIs(Class<P> parentClass, C child… in whenParentIs() argument
981 return whenParentIs(parentClass, child, (p, c) -> true); in whenParentIs()
985 Class<P> parentClass, in whenParentIs() argument
990 … return parentClass.isInstance(parent) && predicate.isSatisfied(parentClass.cast(parent), child); in whenParentIs()
/external/python/cpython2/Lib/test/
Dtest_xmlrpc.py704 parentClass = SimpleXMLRPCServer.SimpleXMLRPCRequestHandler variable in BaseKeepaliveServerTestCase.RequestHandler
710 return self.parentClass.handle(self)
712 result = self.parentClass.handle_one_request(self)
777 parentClass = SimpleXMLRPCServer.SimpleXMLRPCRequestHandler variable in GzipServerTestCase.RequestHandler
783 return self.parentClass.do_POST(self)
/external/llvm-project/mlir/tools/mlir-tblgen/
DSPIRVUtilsGen.cpp106 SmallVector<Record *, 1> parentClass; in getClass() local
107 def->getDirectSuperClasses(parentClass); in getClass()
108 if (parentClass.size() != 1) { in getClass()
112 return parentClass.front()->getName(); in getClass()
/external/python/cpython3/Lib/test/
Dtest_xmlrpc.py1025 parentClass = xmlrpc.server.SimpleXMLRPCRequestHandler variable in BaseKeepaliveServerTestCase.RequestHandler
1031 return self.parentClass.handle(self)
1033 result = self.parentClass.handle_one_request(self)
1103 parentClass = xmlrpc.server.SimpleXMLRPCRequestHandler variable in GzipServerTestCase.RequestHandler
1109 return self.parentClass.do_POST(self)
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java1121 private Method[] getMethodsForProxyClass(Class<?> parentClass) throws Exception { in getMethodsForProxyClass() argument
1122 Class<?> proxyClass = proxyFor(parentClass).buildProxyClass(); in getMethodsForProxyClass()
/external/protobuf/objectivec/
DGPBDescriptor.m250 Class parentClass = objc_getClass(parentName);
251 NSAssert(parentClass, @"Class %s not defined", parentName);
252 return [parentClass descriptor];