@Override
protected void generateNewFcContentMethod( BlockSourceCodeVisitor mv ) {
String ctrlDesc = membraneDesc.getDescriptor();
String contentClassName =
JuliacHelper.getContentClassName(ctrlDesc,contentDesc);
if( contentClassName == null ) {
mv.visitIns("return null");
}
else {
contentClassName = contentClassName.replace('$','.');
CatchSourceCodeVisitor cv = mv.visitTry();
mv.visitVar("Object","content","new",contentClassName+"()");
mv.visitIns("return content");
cv = cv.visitCatch(Throwable.class,"t");
cv.visitIns(
"throw","new",ChainedInstantiationException.class.getName(),
"(t,null,\"\")" );
cv.visitEnd();
}
}