MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / GetIndexForClassDef

Method GetIndexForClassDef

Bcore/src/main/cpp/dex/dex_file.h:644–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642 }
643
644 uint16_t GetIndexForClassDef(const ClassDef& class_def) const {
645 CHECK_GE(&class_def, class_defs_) << GetLocation();
646 CHECK_LT(&class_def, class_defs_ + header_->class_defs_size_) << GetLocation();
647 return &class_def - class_defs_;
648 }
649
650 // Returns the class descriptor string of a class definition.
651 const char* GetClassDescriptor(const ClassDef& class_def) const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected