ClassFileParser: : ClassFileParser (ClassFileStream * stream,
The Symbol * name,
ClassLoaderData * loader_data,
Const ClassLoadInfo * cl_info,
Publicity pub_level,
TRAPS) :
_stream (stream),
_class_name (NULL),
_loader_data (loader_data),
_unsafe_anonymous_host (cl_info - & gt; Unsafe_anonymous_host ()),
_cp_patches (cl_info - & gt; Cp_patches ()),
_is_hidden (cl_info - & gt; Is_hidden ()),
_can_access_vm_annotations (cl_info - & gt; Can_access_vm_annotations ()),
_num_patched_klasses (0),
...
Seems to be under the stream to initialize _stream, but I can't find _stream (ClassFileStream * stream) this function, what is this grammar?
As a Java said at least _stream this method, and method body need is like=stream} {_stream words to complete the assignment (or use lombok automatically generated code), is for each private properties of CPP is a method to assign the same name by default?
CodePudding user response:
This represents the initialization, with an underscore do not have what relation, _stream just a class memberCodePudding user response: