use of st.gravel.support.compiler.ASMClassWriter in project gravel by gravel-st.
the class JavaSystemMappingCompilerTools method writeClass_.
@Override
public Class writeClass_(JVMClass jvmClass) {
JVMDefinedObjectType key = jvmClass.type();
CompiledClass current = jvmClasses.get(key);
if (current == null) {
current = new CompiledClass(jvmClass, new ASMClassWriter(jvmClass).createClass());
jvmClasses.put(key, current);
}
return current.javaClass;
}
Aggregations