示例#1
0
文件: base.py 项目: Andlab/andsploit
    def arg(self, native, obj_type=None):
        """
        Utility method to build a ReflectedType from a native value.

        This should be used to force an object to assume a particular data type
        in Java.
        """

        return ReflectedType.fromNative(native, reflector=self.reflector, obj_type=obj_type)
示例#2
0
    def arg(self, native, obj_type=None):
        """
        Utility method to build a ReflectedType from a native value.

        This should be used to force an object to assume a particular data type
        in Java.
        """

        return ReflectedType.fromNative(native,
                                        reflector=self.reflector,
                                        obj_type=obj_type)