Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def getImports( self, *args, **kwds ): return JavaType.getImports( self, *args, **kwds ) + ["import java.util.ArrayList;", "import java.util.Iterator;"]
def getObjectDeserializeCall( self, source_identifier, dest_identifier ): return "%(dest_identifier)s.deserialize( ( Object[] )%(source_identifier)s );" % locals()
def getImports( self, *args, **kwds ): return JavaType.getImports( self, *args, **kwds ) + ["import java.util.HashMap;", "import java.util.Iterator;"]
def getObjectDeserializeCall( self, source_identifier, dest_identifier ): return "%(dest_identifier)s.deserialize( ( HashMap )%(source_identifier)s );" % locals()
def getImports( self, *args, **kwds ):
return JavaType.getImports( self, *args, **kwds ) + ["import java.util.HashMap;"]