Commit Graph

467 Commits

Author SHA1 Message Date
87a4b02e4a Modify add superClassSet in SuperClass in CurrentClass 2022-09-20 11:19:08 +08:00
83e976890c Modify add code note because lost in ModifierRules, CountRules, NameRules 2022-09-19 12:09:52 +08:00
e9ec6b7e4b Modify change "[*] 或 [*]" to "[*] or [*]" for code note 2022-09-17 15:02:05 +08:00
2bd3acf73b Modify merge to new document url for code note 2022-09-17 14:56:07 +08:00
130f66baca Modify move "throw createException" content to function templates in FieldRulesData, MethodRulesData, ConstructorRulesData, MemberRulesData, BaseRulesData and make modifiers condition visible 2022-09-17 13:18:45 +08:00
35bffae9ff Added Suppress("KotlinConstantConditions") in ReflectionTool 2022-09-17 11:39:17 +08:00
9585d4b91f Modify change appContext, appResources return object with null-safe type in PackageParam 2022-09-16 02:53:25 +08:00
f236ea3940 Modify change code note in YukiHookAPI 2022-09-16 02:53:24 +08:00
a9e5c0780f Modify move NameConditions, ModifierRules to finder/base/rules and renamed and replace them with a new method of use 2022-09-16 02:53:24 +08:00
f48b5b71a7 Modify remove parallelForEach function because it is no need anymore in UtilsFactory 2022-09-16 02:53:24 +08:00
38efe2127b Modify move FieldConditions, MethodConditions, ConstructorConditions, IntConditions to TypeAliasFactory (incorrectly added TODO to commit) 2022-09-16 02:53:24 +08:00
2a40457364 Modify change contains function from reflects to symbolName in NameConditions (conflict commit) 2022-09-16 02:53:24 +08:00
d345a5d94b Modify move ClassLoader.fetching in PackageParam to ClassLoader.onLoadClass in ReflectionFactory and fix reuse problem 2022-09-16 02:53:24 +08:00
744ad4e113 Added @throws code note on paramTypesEq function in ReflectionTool 2022-09-16 02:53:23 +08:00
da42fe0d00 Moved core.reflex.utils.ReflectionTool to core.finder.utils.ReflectionTool 2022-09-16 02:53:23 +08:00
b98e175f99 Remove parse folder because is no longer need it 2022-09-16 02:53:23 +08:00
c0cfeb972b Modify merge function value hashCode to toString in MemberRulesData, FieldRulesData, MethodRulesData, ConstructorRulesData 2022-09-16 02:53:23 +08:00
ed408fd0f2 Fix space overflow bug in ReflectionTool 2022-09-16 02:53:23 +08:00
74bb420947 Fix logger params overflow bug in ReflectionTool 2022-09-16 02:53:23 +08:00
14fc851074 Modify add VagueType conditions and rename function arrayContentsEq to paramTypesEq in ReflectionTool 2022-09-16 02:53:22 +08:00
b928e54905 Modify add reusable conditions and change code note in NameConditions 2022-09-16 02:53:22 +08:00
0e5bb22e96 Modify change code note in NameConditions 2022-09-16 02:53:22 +08:00
113719b0d2 Added length { ... } function in NameConditions 2022-09-16 02:53:22 +08:00
41a42cc590 Modify remove "is MemberRulesData" because its not needed in ReflectionTool 2022-09-16 02:53:22 +08:00
568041835f Added existMembers function in ReflectionTool 2022-09-16 02:53:22 +08:00
406bf36465 Added matchCountConditions function in MemberRulesData 2022-09-16 02:53:22 +08:00
0f05267edc Modify change * != IntRange.EMPTY to *.isEmpty().not() in ConstructorRulesData, MethodRulesData, MemberRulesData, NameConditions 2022-09-16 02:53:21 +08:00
bc03f14ba5 Added paramCount { ... } function in MethodFinder and ConstructorFinder 2022-09-16 02:53:21 +08:00
42462938c3 Added code usage sample in MethodFinder and ConstructorFinder 2022-09-16 02:53:21 +08:00
43c3b676eb Added IntConditions in ReflectionFactory 2022-09-16 02:53:21 +08:00
bff53aabcd Modify change FieldCondition, MethodCondition, ConstructorCondition to FieldConditions, MethodConditions, ConstructorConditions in ReflectionFactory 2022-09-16 02:53:21 +08:00
1212ecf68f Added loggerW when exist Fields, Methods, Constructors got an exception in ReflectionTool 2022-09-16 02:53:21 +08:00
d0d9d70277 Fix logical problem in Conditions in UtilsFactory 2022-09-16 02:53:21 +08:00
7535ba8489 Modify change find Field, Method, Constructor function exception to createException function and fix declared member exception interrupt the finding process bug in ReflectionTool 2022-09-16 02:53:20 +08:00
74261b0287 Added type in VariableTypeFactory 2022-09-16 02:53:20 +08:00
c797da3fb0 Modify rename function include to opt in Conditions in UtilsFactory 2022-09-16 02:53:20 +08:00
67e0bc26c2 Modify remove isMatch old conditions in ReflectionTool 2022-09-16 02:53:20 +08:00
ebe71eb21a Added include function in Conditions in UtilsFactory 2022-09-16 02:53:20 +08:00
58d981d5f2 Added isInitializeOfMatch function in MemberRulesData 2022-09-16 02:53:20 +08:00
57aba63e90 Modify move orderIndex, matchIndex in BaseRulesData and move modifiers to BaseRulesData and add objectName in BaseRulesData and make ReflectionTool simplify 2022-09-16 02:53:19 +08:00
1490a03b7e Added takeIf, let expanded function in UtilsFactory 2022-09-16 02:53:19 +08:00
11e1beca3a Added length function in NameConditions 2022-09-16 02:53:19 +08:00
e09d3282f0 Modify change to new conditions to fix Members may probably has a finding bug in ReflectionTool 2022-09-16 02:53:19 +08:00
600b02f308 Added conditions function in UtilsFactory 2022-09-16 02:53:19 +08:00
c9dae11a18 Modify change function name onHookLogMsg to onDebuggingMsg in MemberBaseFinder 2022-09-16 02:53:19 +08:00
537a6acb22 Fix bug when superclass is null hasExtends throw NullPointerException in ReflectionFactory 2022-09-16 02:53:18 +08:00
5fa0b72d40 Added isUseSimple param in contains function for Class in NameConditions 2022-09-16 02:53:18 +08:00
a1428b3037 Fix bug when nameConditions not record to hashCode by findFields, findMethods in ReflectionTool 2022-09-16 02:53:18 +08:00
c01d203f6e Fix bug when nameConditions not null by findFields, findMethods, findConstructors in ReflectionTool 2022-09-16 02:53:18 +08:00
989e9fc0b9 Modify change code note in FieldFinder, MethodFinder, ConstructorFinder 2022-09-16 02:53:18 +08:00