Reordered ClassFormat.h

This commit is contained in:
calcium 2024-08-24 23:36:22 -04:00
parent 844e53910d
commit ddba2b6d66

View File

@ -58,6 +58,12 @@ enum class ACCESS_FLAGS
}; };
} // namespace Method } // namespace Method
struct BaseAttribute
{
u2 attribute_name_index;
u4 attribute_length;
};
struct attribute_info struct attribute_info
{ {
u2 attribute_name_index; u2 attribute_name_index;
@ -65,12 +71,6 @@ struct attribute_info
std::vector<u1> info; std::vector<u1> info;
}; };
struct BaseAttribute
{
u2 attribute_name_index;
u4 attribute_length;
};
struct method_info struct method_info
{ {
u2 access_flags; u2 access_flags;