# Package Loader? like Class Loader with Reflect

**URL:** <https://forum.inductiveautomation.com/t/package-loader-like-class-loader-with-reflect/69810>\
**Category:** Module Development\
**Tags:** ignition79\
**Created:** [February 14, 2023, 1:11am UTC](https://forum.inductiveautomation.com/t/package-loader-like-class-loader-with-reflect/69810 "2023-02-14T01:11:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 14, 2023, 1:16am UTC](https://forum.inductiveautomation.com/t/package-loader-like-class-loader-with-reflect/69810/2 "2023-02-14T01:16:26Z")

</div>

You can just create public static final fields to hold the classes. See this example:

> [@Scripting Module - Some Question](https://forum.inductiveautomation.com/t/scripting-module-some-question/54862/4):
>
> Let me offer something simpler: public class Datasets { protected static final Pattern munger = Pattern.compile("\\W+"); public static String mungeColumnName(@ScriptArg("columnname") String columnName) { String munged = munger.matcher(columnName).replaceAll("\_"); if (Character.isDigit(munged.charAt(0))) return "\_"+munged; return munged; } public static final Class\<?\> TransientDataset = TransientDataset.class; } This shows a dead-simple class containing only statics to expose. O…

Then those names, in whatever `system....` namespace you specified, can be used without import.

---

_[View the full topic](https://forum.inductiveautomation.com/t/package-loader-like-class-loader-with-reflect/69810)._
