mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
This commit is contained in:
parent
194356d3a3
commit
5a1810c5e5
|
@ -251,6 +251,10 @@ class JavascriptNativeProcessor {
|
|||
}
|
||||
|
||||
public void addFunctorField(ClassHolder cls, MethodReference method) {
|
||||
if (cls.getAnnotations().get(FunctorImpl.class.getName()) != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
FieldHolder field = new FieldHolder("$$jso_functor$$");
|
||||
field.setLevel(AccessLevel.PUBLIC);
|
||||
field.setType(ValueType.parse(JSObject.class));
|
||||
|
|
Loading…
Reference in New Issue
Block a user