/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/ |
D | CompilationUnitBuildersTest.java | 41 private final CompilationUnit cu = new CompilationUnit(); field in CompilationUnitBuildersTest 45 cu.addImport(Map.class); in testAddImport() 46 cu.addImport(Map.class); in testAddImport() 47 cu.addImport(List.class); in testAddImport() 48 assertEquals(2, cu.getImports().size()); in testAddImport() 49 cu.addImport("myImport"); in testAddImport() 50 assertEquals(3, cu.getImports().size()); in testAddImport() 51 assertEquals("import " + Map.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddImport() 52 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(1).toString()); in testAddImport() 53 assertEquals("import myImport;" + EOL, cu.getImport(2).toString()); in testAddImport() [all …]
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | dbapi.py | 90 cu = self.cx.cursor() 91 cu.execute("create table test(id integer primary key, name text)") 92 cu.execute("insert into test(name) values (?)", ("foo",)) 118 cu = self.cx.cursor() 144 cu = cx.cursor() 146 cu.execute("create table transactiontest(id integer primary key, name text)") 148 cu.execute("insert into transactiontest(name) values (?)", ("foo",)) 150 cu.execute("select name from transactiontest where name=?", ["foo"]) 151 row = cu.fetchone() 155 cu.execute("select name from transactiontest where name=?", ["foo"]) [all …]
|
/external/elfutils/libdw/ |
D | dwarf_formref_die.c | 44 struct Dwarf_CU *cu = attr->cu; in dwarf_formref_die() local 53 if (cu->version == 2 && attr->form == DW_FORM_ref_addr) in dwarf_formref_die() 54 ref_size = cu->address_size; in dwarf_formref_die() 60 ref_size = cu->offset_size; in dwarf_formref_die() 63 ? INTUSE(dwarf_getalt) (cu->dbg) : cu->dbg); in dwarf_formref_die() 71 if (__libdw_read_offset (cu->dbg, dbg_ret, IDX_debug_info, attr->valp, in dwarf_formref_die() 85 uint64_t sig = read_8ubyte_unaligned (cu->dbg, attr->valp); in dwarf_formref_die() 86 cu = Dwarf_Sig8_Hash_find (&cu->dbg->sig8_hash, sig); in dwarf_formref_die() 87 if (cu == NULL) in dwarf_formref_die() 95 cu = __libdw_intern_next_unit (attr->cu->dbg, scan_debug_types); in dwarf_formref_die() [all …]
|
D | dwarf_cu_info.c | 39 dwarf_cu_info (Dwarf_CU *cu, in dwarf_cu_info() argument 45 if (cu == NULL) in dwarf_cu_info() 49 *version = cu->version; in dwarf_cu_info() 52 *unit_type = cu->unit_type; in dwarf_cu_info() 56 if (cu->version >= 2 && cu->version <= 5 in dwarf_cu_info() 57 && cu->unit_type >= DW_UT_compile in dwarf_cu_info() 58 && cu->unit_type <= DW_UT_split_type) in dwarf_cu_info() 59 *cudie = CUDIE (cu); in dwarf_cu_info() 70 if (cu->version >= 2 && cu->version <= 5) in dwarf_cu_info() 75 if (cu->unit_type == DW_UT_type in dwarf_cu_info() [all …]
|
D | dwarf_getsrcfiles.c | 52 struct Dwarf_CU *const cu = cudie->cu; in dwarf_getsrcfiles() local 53 if (cu->files == NULL) in dwarf_getsrcfiles() 57 if (cu->unit_type == DW_UT_split_compile in dwarf_getsrcfiles() 58 || cu->unit_type == DW_UT_split_type) in dwarf_getsrcfiles() 61 cu->files = (void *) -1; in dwarf_getsrcfiles() 65 if (cu->dbg->sectiondata[IDX_debug_line] != NULL) in dwarf_getsrcfiles() 69 res = __libdw_getsrclines (cu->dbg, 0, in dwarf_getsrcfiles() 71 cu->address_size, NULL, in dwarf_getsrcfiles() 72 &cu->files); in dwarf_getsrcfiles() 76 Dwarf_CU *skel = __libdw_find_split_unit (cu); in dwarf_getsrcfiles() [all …]
|
D | libdw_find_split_unit.c | 46 try_split_file (Dwarf_CU *cu, const char *dwo_path) in try_split_file() argument 59 && cu->unit_id8 == split->unit_id8) in try_split_file() 61 if (tsearch (split->dbg, &cu->dbg->split_tree, in try_split_file() 70 __libdw_link_skel_split (cu, split); in try_split_file() 79 if (cu->split == (Dwarf_CU *) -1) in try_split_file() 91 __libdw_find_split_unit (Dwarf_CU *cu) in __libdw_find_split_unit() argument 94 if (cu->split != (Dwarf_CU *) -1) in __libdw_find_split_unit() 95 return cu->split; in __libdw_find_split_unit() 100 if (cu->unit_type == DW_UT_skeleton) in __libdw_find_split_unit() 102 Dwarf_Die cudie = CUDIE (cu); in __libdw_find_split_unit() [all …]
|
D | dwarf_formudata.c | 45 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index]; in __libdw_formptr() 49 && attr->cu->version < 5 in __libdw_formptr() 50 && attr->cu->unit_type == DW_UT_split_compile)) in __libdw_formptr() 52 skel = __libdw_find_split_unit (attr->cu); in __libdw_formptr() 75 Elf_Data *data = attr->cu->dbg->sectiondata[cu_sec_idx (attr->cu)]; in __libdw_formptr() 77 size_t size = attr->cu->offset_size; in __libdw_formptr() 87 offset = read_4ubyte_unaligned (attr->cu->dbg, datap); in __libdw_formptr() 89 offset = read_8ubyte_unaligned (attr->cu->dbg, datap); in __libdw_formptr() 95 if (__libdw_read_offset (attr->cu->dbg, attr->cu->dbg, in __libdw_formptr() 96 cu_sec_idx (attr->cu), attr->valp, in __libdw_formptr() [all …]
|
D | dwarf_ranges.c | 44 __libdw_read_begin_end_pair_inc (Dwarf_CU *cu, int sec_index, in __libdw_read_begin_end_pair_inc() argument 51 Dwarf *dbg = cu->dbg; in __libdw_read_begin_end_pair_inc() 53 && cu->version < 5 in __libdw_read_begin_end_pair_inc() 54 && cu->unit_type == DW_UT_split_compile) in __libdw_read_begin_end_pair_inc() 73 if (__libdw_addrx (cu, addr_idx, &base) != 0) in __libdw_read_begin_end_pair_inc() 83 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc() 88 if (__libdw_addrx (cu, addr_idx, &end) != 0) in __libdw_read_begin_end_pair_inc() 100 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc() 175 if (__libdw_addrx (cu, addr_idx, &base) != 0) in __libdw_read_begin_end_pair_inc() 186 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc() [all …]
|
D | dwarf_getlocation_attr.c | 49 return attr->cu; in attr_form_cu() 51 return (attr->cu->version < 5 in attr_form_cu() 52 ? attr->cu->dbg->fake_loc_cu in attr_form_cu() 53 : attr->cu->dbg->fake_loclists_cu); in attr_form_cu() 58 addr_valp (Dwarf_CU *cu, Dwarf_Word index) in addr_valp() argument 60 Elf_Data *debug_addr = cu->dbg->sectiondata[IDX_debug_addr]; in addr_valp() 67 Dwarf_Word offset = __libdw_cu_addr_base (cu) + (index * cu->address_size); in addr_valp() 83 result->cu = attr_form_cu (attr); in dwarf_getlocation_attr() 91 result->cu = attr_form_cu (attr); in dwarf_getlocation_attr() 99 result->cu = attr_form_cu (attr); in dwarf_getlocation_attr() [all …]
|
D | libdwP.h | 387 #define ISV4TU(cu) ((cu)->version == 4 && (cu)->sec_idx == IDX_debug_types) argument 452 __libdw_first_die_off_from_cu (struct Dwarf_CU *cu) in __libdw_first_die_off_from_cu() argument 454 return __libdw_first_die_from_cu_start (cu->start, in __libdw_first_die_off_from_cu() 455 cu->offset_size, in __libdw_first_die_off_from_cu() 456 cu->version, in __libdw_first_die_off_from_cu() 457 cu->unit_type); in __libdw_first_die_off_from_cu() 463 .cu = (fromcu), \ 471 .cu = (fromcu), \ 651 extern struct Dwarf_CU *__libdw_find_split_unit (Dwarf_CU *cu) 655 extern Dwarf_Abbrev *__libdw_findabbrev (struct Dwarf_CU *cu, [all …]
|
D | dwarf_getlocation.c | 151 struct loc_block_s **found = tfind (&fake, &attr->cu->locs, loc_compare); in dwarf_getlocation_implicit_value() 194 struct loc_s **found = tfind (&fake, &attr->cu->locs, loc_compare); in is_constant_offset() 202 Dwarf_Op *result = libdw_alloc (attr->cu->dbg, in is_constant_offset() 211 struct loc_s *newp = libdw_alloc (attr->cu->dbg, in is_constant_offset() 218 found = tsearch (newp, &attr->cu->locs, loc_compare); in is_constant_offset() 644 getlocation (struct Dwarf_CU *cu, const Dwarf_Block *block, in getlocation() argument 655 return __libdw_intern_expression (cu->dbg, cu->dbg->other_byte_order, in getlocation() 656 cu->address_size, (cu->version == 2 in getlocation() 657 ? cu->address_size in getlocation() 658 : cu->offset_size), in getlocation() [all …]
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFDebugInfoEntry.cpp | 40 const DWARFUnit *cu, in Extract() argument 54 const auto *abbrevDecl = GetAbbreviationDeclarationPtr(cu); in Extract() 56 cu->GetSymbolFileDWARF().GetObjectFile()->GetModule()->ReportError( in Extract() 73 DWARFFormValue::GetFixedSize(form, cu); in Extract() 105 form_size = cu->GetAddressByteSize(); in Extract() 108 if (cu->GetVersion() <= 2) in Extract() 109 form_size = cu->GetAddressByteSize(); in Extract() 227 DWARFUnit *cu, const char *&name, const char *&mangled, in GetDIENamesAndRanges() argument 236 const auto *abbrevDecl = GetAbbreviationDeclarationPtr(cu); in GetDIENamesAndRanges() 238 SymbolFileDWARF &dwarf = cu->GetSymbolFileDWARF(); in GetDIENamesAndRanges() [all …]
|
D | DWARFDebugInfoEntry.h | 45 void BuildFunctionAddressRangeTable(const DWARFUnit *cu, 49 const DWARFUnit *cu, lldb::offset_t *offset_ptr); 52 size_t GetAttributes(DWARFUnit *cu, DWARFAttributes &attrs, 54 return GetAttributes(cu, attrs, recurse, 0 /* curr_depth */); 58 GetAttributeValue(const DWARFUnit *cu, const dw_attr_t attr, 64 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value, 68 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value, 72 const DWARFUnit *cu, const dw_attr_t attr, 76 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value, 80 GetAttributeHighPC(const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value, [all …]
|
/external/elfutils/libdwfl/ |
D | cu.c | 78 aranges[naranges].cu = NULL; in addrarange() 139 struct dwfl_cu *cu = arg; in nofree() local 140 if (cu == (void *) -1l) in nofree() 143 assert (cu->mod->lazycu == 0); in nofree() 159 cudie_offset (const struct dwfl_cu *cu) in cudie_offset() argument 161 return __libdw_first_die_off_from_cu (cu->die.cu); in cudie_offset() 200 key.die.cu = die->cu; in intern_cu() 211 struct dwfl_cu *cu = malloc (sizeof *cu); in intern_cu() local 212 if (unlikely (cu == NULL)) in intern_cu() 215 cu->mod = mod; in intern_cu() [all …]
|
/external/tensorflow/third_party/nccl/ |
D | archive.patch | 1 diff --git a/src/collectives/device/all_gather.cu b/src/collectives/device/all_gather.cu.cc 3 rename from src/collectives/device/all_gather.cu 4 rename to src/collectives/device/all_gather.cu.cc 5 diff --git a/src/collectives/device/all_reduce.cu b/src/collectives/device/all_reduce.cu.cc 7 rename from src/collectives/device/all_reduce.cu 8 rename to src/collectives/device/all_reduce.cu.cc 9 diff --git a/src/collectives/device/broadcast.cu b/src/collectives/device/broadcast.cu.cc 11 rename from src/collectives/device/broadcast.cu 12 rename to src/collectives/device/broadcast.cu.cc 13 diff --git a/src/collectives/device/functions.cu b/src/collectives/device/functions.cu.cc [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | ClassOrInterfaceDeclarationContextResolutionTest.java | 64 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in getParentForTopClass() local 65 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in getParentForTopClass() 69 assertEquals(new CompilationUnitContext(cu, typeSolver), context.getParent()); in getParentForTopClass() 74 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveExistingGenericType() local 75 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveExistingGenericType() 94 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveUnexistingGenericType() local 95 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveUnexistingGenericType() 105 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToDeclaredInstanceField() local 106 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveSymbolReferringToDeclaredInstanceField() 116 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToDeclaredStaticField() local [all …]
|
D | CompilationUnitContextResolutionTest.java | 64 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in getParent() local 65 Context context = new CompilationUnitContext(cu, typeSolver); in getParent() 72 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveExistingGenericType() local 73 Context context = new CompilationUnitContext(cu, typeSolver); in solveExistingGenericType() 86 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveUnexistingGenericType() local 87 Context context = new CompilationUnitContext(cu, typeSolver); in solveUnexistingGenericType() 96 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticallyImportedValue() local 102 Context context = new CompilationUnitContext(cu, typeSolver); in solveSymbolReferringToStaticallyImportedValue() 111 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue() local 117 Context context = new CompilationUnitContext(cu, typeSolver); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 49 assertEquals(1, getTextForNode(cu).numberOfElements()); in checkNodeTextCreatedForSimplestClass() 50 assertTrue(getTextForNode(cu).getTextElement(0) instanceof ChildTextElement); in checkNodeTextCreatedForSimplestClass() 51 …assertEquals(cu.getClassByName("A").get(), ((ChildTextElement) getTextForNode(cu).getTextElement(0… in checkNodeTextCreatedForSimplestClass() 54 ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get(); in checkNodeTextCreatedForSimplestClass() 72 ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get(); in checkNodeTextCreatedForField() 84 ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get(); in checkNodeTextCreatedForVariableDeclarator() 97 ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get(); in checkNodeTextCreatedForMethod() 109 ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get(); in checkNodeTextCreatedForMethodParameter() 122 ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get(); in checkNodeTextCreatedForPrimitiveType() 136 ImportDeclaration imp = (ImportDeclaration) cu.getChildNodes().get(0); in checkNodeTextCreatedForSimpleImport() [all …]
|
D | TransformationsTest.java | 48 cu.getClassByName("A").get().getFieldByName("a").get().setModifiers(STATIC); in example1() 49 assertTransformed("Example1", cu); in example1() 55 cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setInitializer("10"); in example2() 56 assertTransformed("Example2", cu); in example2() 62 …cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setInitializer((Expression) … in example3() 63 assertTransformed("Example3", cu); in example3() 69 …cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setInitializer(new NullLiter… in example5() 70 assertTransformed("Example5", cu); in example5() 76 … cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setName("someOtherName"); in example6() 77 assertTransformed("Example6", cu); in example6() [all …]
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | dbapi.py | 91 cu = self.cx.cursor() 92 cu.execute("create table test(id integer primary key, name text)") 93 cu.execute("insert into test(name) values (?)", ("foo",)) 119 cu = self.cx.cursor() 148 self.cu = self.cx.cursor() 149 self.cu.execute("create table test(id integer primary key, name text, income number)") 150 self.cu.execute("insert into test(name) values (?)", ("foo",)) 153 self.cu.close() 157 self.cu.execute("delete from test") 161 self.cu.execute("select asdf") [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/ |
D | PrettyPrintVisitorTest.java | 115 CompilationUnit cu = parse(code); in printLambdaIntersectionTypeAssignment() local 116 MethodDeclaration methodDeclaration = (MethodDeclaration) cu.getType(0).getMember(0); in printLambdaIntersectionTypeAssignment() 136 CompilationUnit cu = parse(code); in printLambdaIntersectionTypeReturn() local 137 MethodDeclaration methodDeclaration = (MethodDeclaration) cu.getType(0).getMember(0); in printLambdaIntersectionTypeReturn() 145 CompilationUnit cu = parse(code); in printClassWithoutJavaDocButWithComment() local 147 String content = cu.toString(ignoreJavaDoc); in printClassWithoutJavaDocButWithComment() 154 CompilationUnit cu = parse(code); in printImportsDefaultOrder() local 155 String content = cu.toString(); in printImportsDefaultOrder() 167 CompilationUnit cu = parse(code); in printImportsOrdered() local 169 String content = cu.toString(orderImports); in printImportsOrdered() [all …]
|
D | PrettyPrinterTest.java | 48 CompilationUnit cu = parse(code); in prettyPrintField() local 49 return new PrettyPrinter().print(cu.findFirst(FieldDeclaration.class).get()); in prettyPrintField() 53 CompilationUnit cu = parse(code); in prettyPrintVar() local 54 return new PrettyPrinter().print(cu.findAll(VariableDeclarationExpr.class).get(0)); in prettyPrintVar() 96 CompilationUnit cu = parse(code); in prettyPrintConfigurable() local 98 return printer.print(cu.findFirst(ClassOrInterfaceDeclaration.class).get()); in prettyPrintConfigurable() 190 CompilationUnit cu = parse("enum X{A, B, C, D, E}"); in enumConstantsHorizontally() local 191 assertEqualsNoEol("enum X {\n\n A, B, C, D, E\n}\n", new PrettyPrinter().print(cu)); in enumConstantsHorizontally() 196 CompilationUnit cu = parse("enum X{A, B, C, D, E, F}"); in enumConstantsVertically() local 197 …l("enum X {\n\n A,\n B,\n C,\n D,\n E,\n F\n}\n", new PrettyPrinter().print(cu)); in enumConstantsVertically() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
D | AnnotationDeclarationTransformationsTest.java | 54 cu.getAnnotationDeclarationByName("ClassPreamble").get().setName("NewName"); in changingName() 55 assertTransformed("AnnotationDeclaration_Example1", cu); in changingName() 63 … cu.getAnnotationDeclarationByName("ClassPreamble").get().setModifiers(createModifierList(PUBLIC)); in addingModifiers() 64 assertTransformed("AnnotationDeclaration_Example2", cu); in addingModifiers() 70 cu.getAnnotationDeclarationByName("ClassPreamble").get().setModifiers(new NodeList<>()); in removingModifiers() 71 assertTransformed("AnnotationDeclaration_Example3", cu); in removingModifiers() 77 …cu.getAnnotationDeclarationByName("ClassPreamble").get().setModifiers(createModifierList(PROTECTED… in replacingModifiers() 78 assertTransformed("AnnotationDeclaration_Example4", cu); in replacingModifiers() 86 …cu.getAnnotationDeclarationByName("ClassPreamble").get().addMember(new AnnotationMemberDeclaration… in addingMember() 87 assertTransformed("AnnotationDeclaration_Example5", cu); in addingMember() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | GenericsResolutionTest.java | 51 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToString() local 52 ClassOrInterfaceDeclaration clazz = Navigator.demandClass(cu, "Generics"); in resolveFieldWithGenericTypeToString() 68 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToDeclaredClass() local 69 ClassOrInterfaceDeclaration clazz = Navigator.demandClass(cu, "Generics"); in resolveFieldWithGenericTypeToDeclaredClass() 85 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToInteger() local 86 ClassOrInterfaceDeclaration clazz = Navigator.demandClass(cu, "Generics"); in resolveFieldWithGenericTypeToInteger() 102 CompilationUnit cu = parseSample("Generics"); in resolveFieldOfVariableType() local 103 ClassOrInterfaceDeclaration clazz = Navigator.demandClass(cu, "SomeCollection"); in resolveFieldOfVariableType() 119 CompilationUnit cu = parseSample("Generics"); in resolveFieldOfGenericReferringToVariableType() local 120 ClassOrInterfaceDeclaration clazz = Navigator.demandClass(cu, "SomeCollection"); in resolveFieldOfGenericReferringToVariableType() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/ |
D | NodeTest.java | 55 CompilationUnit cu = parse(code); in registerSubTree() local 63 cu.registerForSubtree(observer); in registerSubTree() 67 cu.getClassByName("A").get().setName("MyCoolClass"); in registerSubTree() 70 …cu.getClassByName("MyCoolClass").get().getFieldByName("f").get().getVariable(0).setType(new Primit… in registerSubTree() 75 …cu.getClassByName("MyCoolClass").get().getMethodsByName("foo").get(0).getParameterByName("p").get(… in registerSubTree() 85 CompilationUnit cu = parse(code); in registerWithJustNodeMode() local 93 … cu.getClassByName("A").get().register(observer, Node.ObserverRegistrationMode.JUST_THIS_NODE); in registerWithJustNodeMode() 97 cu.getClassByName("A").get().setName("MyCoolClass"); in registerWithJustNodeMode() 100 …cu.getClassByName("MyCoolClass").get().getFieldByName("f").get().getVariable(0).setType(new Primit… in registerWithJustNodeMode() 103 …cu.getClassByName("MyCoolClass").get().getMethodsByName("foo").get(0).getParameterByName("p").get(… in registerWithJustNodeMode() [all …]
|