@@ -107,31 +107,31 @@ namespace jni
107
107
}
108
108
109
109
template < class ... Args >
110
- Constructor<TagType, Args...> GetConstructor (JNIEnv& env)
110
+ Constructor<TagType, Args...> GetConstructor (JNIEnv& env) const
111
111
{
112
112
return Constructor<TagType, Args...>(env, *this );
113
113
}
114
114
115
115
template < class T >
116
- Field<TagType, T> GetField (JNIEnv& env, const char * name)
116
+ Field<TagType, T> GetField (JNIEnv& env, const char * name) const
117
117
{
118
118
return Field<TagType, T>(env, *this , name);
119
119
}
120
120
121
121
template < class T >
122
- StaticField<TagType, T> GetStaticField (JNIEnv& env, const char * name)
122
+ StaticField<TagType, T> GetStaticField (JNIEnv& env, const char * name) const
123
123
{
124
124
return StaticField<TagType, T>(env, *this , name);
125
125
}
126
126
127
127
template < class T >
128
- Method<TagType, T> GetMethod (JNIEnv& env, const char * name)
128
+ Method<TagType, T> GetMethod (JNIEnv& env, const char * name) const
129
129
{
130
130
return Method<TagType, T>(env, *this , name);
131
131
}
132
132
133
133
template < class T >
134
- StaticMethod<TagType, T> GetStaticMethod (JNIEnv& env, const char * name)
134
+ StaticMethod<TagType, T> GetStaticMethod (JNIEnv& env, const char * name) const
135
135
{
136
136
return StaticMethod<TagType, T>(env, *this , name);
137
137
}
0 commit comments