@@ -45,15 +45,15 @@ impl Vector {
4545 }
4646
4747 async fn init ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < ( ) > {
48- tracing:: debug!( "java.util.Vector::<init>({:?})" , & this ) ;
48+ tracing:: debug!( "java.util.Vector::<init>({this :?})" ) ;
4949
5050 let _: ( ) = jvm. invoke_special ( & this, "java/util/Vector" , "<init>" , "(I)V" , ( 10 , ) ) . await ?;
5151
5252 Ok ( ( ) )
5353 }
5454
5555 async fn init_with_capacity ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > , capacity : i32 ) -> Result < ( ) > {
56- tracing:: debug!( "java.util.Vector::<init>({:?}, {:?})" , & this , capacity ) ;
56+ tracing:: debug!( "java.util.Vector::<init>({this :?}, {capacity :?})" ) ;
5757
5858 let _: ( ) = jvm. invoke_special ( & this, "java/util/Vector" , "<init>" , "(II)V" , ( capacity, 0 ) ) . await ?;
5959
@@ -67,7 +67,7 @@ impl Vector {
6767 capacity : i32 ,
6868 capacity_increment : i32 ,
6969 ) -> Result < ( ) > {
70- tracing:: debug!( "java.util.Vector::<init>({:?}, {:?}, {:?})" , & this , capacity , capacity_increment ) ;
70+ tracing:: debug!( "java.util.Vector::<init>({this :?}, {capacity :?}, {capacity_increment :?})" ) ;
7171
7272 let _: ( ) = jvm. invoke_special ( & this, "java/util/AbstractList" , "<init>" , "()V" , ( ) ) . await ?;
7373
@@ -80,7 +80,7 @@ impl Vector {
8080 }
8181
8282 async fn add ( jvm : & Jvm , _: & mut RuntimeContext , mut this : ClassInstanceRef < Self > , element : ClassInstanceRef < Object > ) -> Result < bool > {
83- tracing:: debug!( "java.util.Vector::add({:?}, {:?})" , & this , & element ) ;
83+ tracing:: debug!( "java.util.Vector::add({this :?}, {element :?})" ) ;
8484
8585 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
8686 Self :: ensure_capacity ( jvm, & mut this, ( element_count + 1 ) as _ ) . await ?;
@@ -93,7 +93,7 @@ impl Vector {
9393 }
9494
9595 async fn add_element ( jvm : & Jvm , _: & mut RuntimeContext , mut this : ClassInstanceRef < Self > , element : ClassInstanceRef < Object > ) -> Result < ( ) > {
96- tracing:: debug!( "java.util.Vector::addElement({:?}, {:?})" , & this , & element ) ;
96+ tracing:: debug!( "java.util.Vector::addElement({this :?}, {element :?})" ) ;
9797
9898 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
9999 Self :: ensure_capacity ( jvm, & mut this, ( element_count + 1 ) as _ ) . await ?;
@@ -112,7 +112,7 @@ impl Vector {
112112 element : ClassInstanceRef < Object > ,
113113 index : i32 ,
114114 ) -> Result < ( ) > {
115- tracing:: debug!( "java.util.Vector::insertElementAt({:?}, {:?}, {:?})" , & this , & element , index ) ;
115+ tracing:: debug!( "java.util.Vector::insertElementAt({this :?}, {element :?}, {index :?})" ) ;
116116
117117 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
118118 Self :: ensure_capacity ( jvm, & mut this, ( element_count + 1 ) as _ ) . await ?;
@@ -132,7 +132,7 @@ impl Vector {
132132 }
133133
134134 async fn element_at ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > , index : i32 ) -> Result < ClassInstanceRef < Object > > {
135- tracing:: debug!( "java.util.Vector::elementAt({:?}, {:?})" , & this , index ) ;
135+ tracing:: debug!( "java.util.Vector::elementAt({this :?}, {index :?})" ) ;
136136
137137 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
138138 if index < 0 || index >= element_count {
@@ -154,7 +154,7 @@ impl Vector {
154154 index : i32 ,
155155 element : ClassInstanceRef < Object > ,
156156 ) -> Result < ClassInstanceRef < Object > > {
157- tracing:: debug!( "java.util.Vector::set({:?}, {:?}, {:?})" , & this , index , & element ) ;
157+ tracing:: debug!( "java.util.Vector::set({this :?}, {index :?}, {element :?})" ) ;
158158
159159 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
160160 if index < 0 || index >= element_count {
@@ -171,21 +171,21 @@ impl Vector {
171171 }
172172
173173 async fn size ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < i32 > {
174- tracing:: debug!( "java.util.Vector::size({:?})" , & this ) ;
174+ tracing:: debug!( "java.util.Vector::size({this :?})" ) ;
175175
176176 jvm. get_field ( & this, "elementCount" , "I" ) . await
177177 }
178178
179179 async fn is_empty ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < bool > {
180- tracing:: debug!( "java.util.Vector::isEmpty({:?})" , & this ) ;
180+ tracing:: debug!( "java.util.Vector::isEmpty({this :?})" ) ;
181181
182182 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
183183
184184 Ok ( element_count == 0 )
185185 }
186186
187187 async fn remove ( jvm : & Jvm , _: & mut RuntimeContext , mut this : ClassInstanceRef < Self > , index : i32 ) -> Result < ClassInstanceRef < Object > > {
188- tracing:: debug!( "java.util.Vector::remove({:?}, {:?})" , & this , index ) ;
188+ tracing:: debug!( "java.util.Vector::remove({this :?}, {index :?})" ) ;
189189
190190 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
191191 if index < 0 || index >= element_count {
@@ -211,7 +211,7 @@ impl Vector {
211211 }
212212
213213 async fn remove_all_elements ( jvm : & Jvm , _: & mut RuntimeContext , mut this : ClassInstanceRef < Self > ) -> Result < ( ) > {
214- tracing:: debug!( "java.util.Vector::removeAllElements({:?})" , & this ) ;
214+ tracing:: debug!( "java.util.Vector::removeAllElements({this :?})" ) ;
215215
216216 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
217217 let mut element_data = jvm. get_field ( & this, "elementData" , "[Ljava/lang/Object;" ) . await ?;
@@ -227,7 +227,7 @@ impl Vector {
227227 }
228228
229229 async fn remove_element_at ( jvm : & Jvm , _: & mut RuntimeContext , mut this : ClassInstanceRef < Self > , index : i32 ) -> Result < ( ) > {
230- tracing:: debug!( "java.util.Vector::removeElementAt({:?}, {:?})" , & this , index ) ;
230+ tracing:: debug!( "java.util.Vector::removeElementAt({this :?}, {index :?})" ) ;
231231
232232 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
233233 if index < 0 || index >= element_count {
@@ -252,7 +252,7 @@ impl Vector {
252252 }
253253
254254 async fn index_of ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > , element : ClassInstanceRef < Object > ) -> Result < i32 > {
255- tracing:: debug!( "java.util.Vector::indexOf({:?}, {:?})" , & this , & element ) ;
255+ tracing:: debug!( "java.util.Vector::indexOf({this :?}, {element :?})" ) ;
256256
257257 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
258258 let element_data = jvm. get_field ( & this, "elementData" , "[Ljava/lang/Object;" ) . await ?;
@@ -279,7 +279,7 @@ impl Vector {
279279 }
280280
281281 async fn last_index_of ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > , element : ClassInstanceRef < Object > ) -> Result < i32 > {
282- tracing:: debug!( "java.util.Vector::lastIndexOf({:?}, {:?})" , & this , & element ) ;
282+ tracing:: debug!( "java.util.Vector::lastIndexOf({this :?}, {element :?})" ) ;
283283
284284 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
285285
@@ -297,7 +297,7 @@ impl Vector {
297297 element : ClassInstanceRef < Object > ,
298298 index : i32 ,
299299 ) -> Result < i32 > {
300- tracing:: debug!( "java.util.Vector::lastIndexOf({:?}, {:?}, {:?})" , & this , & element , index ) ;
300+ tracing:: debug!( "java.util.Vector::lastIndexOf({this :?}, {element :?}, {index :?})" ) ;
301301
302302 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
303303
@@ -329,7 +329,7 @@ impl Vector {
329329 }
330330
331331 async fn first_element ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < ClassInstanceRef < Object > > {
332- tracing:: debug!( "java.util.Vector::firstElement({:?})" , & this ) ;
332+ tracing:: debug!( "java.util.Vector::firstElement({this :?})" ) ;
333333
334334 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
335335
@@ -344,7 +344,7 @@ impl Vector {
344344 }
345345
346346 async fn remove_element ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > , element : ClassInstanceRef < Object > ) -> Result < bool > {
347- tracing:: debug!( "java.util.Vector::removeElement({:?}, {:?})" , & this , & element ) ;
347+ tracing:: debug!( "java.util.Vector::removeElement({this :?}, {element :?})" ) ;
348348
349349 let index: i32 = jvm. invoke_virtual ( & this, "indexOf" , "(Ljava/lang/Object;)I" , ( element, ) ) . await ?;
350350
@@ -357,7 +357,7 @@ impl Vector {
357357 }
358358
359359 async fn trim_to_size ( jvm : & Jvm , _: & mut RuntimeContext , mut this : ClassInstanceRef < Self > ) -> Result < ( ) > {
360- tracing:: debug!( "java.util.Vector::trimToSize({:?})" , & this ) ;
360+ tracing:: debug!( "java.util.Vector::trimToSize({this :?})" ) ;
361361
362362 let element_count: i32 = jvm. get_field ( & this, "elementCount" , "I" ) . await ?;
363363 let element_data = jvm. get_field ( & this, "elementData" , "[Ljava/lang/Object;" ) . await ?;
0 commit comments