diff options
Diffstat (limited to 'gentools/templ.java/MethodBodyClass.tmpl')
| -rw-r--r-- | gentools/templ.java/MethodBodyClass.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gentools/templ.java/MethodBodyClass.tmpl b/gentools/templ.java/MethodBodyClass.tmpl index 8ac6c4e00a..ad1ce36006 100644 --- a/gentools/templ.java/MethodBodyClass.tmpl +++ b/gentools/templ.java/MethodBodyClass.tmpl @@ -54,6 +54,8 @@ ${METHOD_ID_INIT} public int getClazz() { return classIdMap.get(major + "-" + minor); } public int getMethod() { return methodIdMap.get(major + "-" + minor); } + public static int getClazz(byte major, byte minor) { return classIdMap.get(major + "-" + minor); } + public static int getMethod(byte major, byte minor) { return methodIdMap.get(major + "-" + minor); } // Field methods %{FLIST} ${mb_field_get_method} |
