@@ -154,8 +154,8 @@ private module Buffers {
154
154
class BufferWrapMethod extends TaintPreservingCallable {
155
155
BufferWrapMethod ( ) {
156
156
this .getDeclaringType ( ) instanceof BufferType and
157
- // public static ByteBuffer wrap (byte[] array)
158
- // public static ByteBuffer wrap (byte[] array, int offset, int length)
157
+ // public static ByteBuffer wrap(byte[] array)
158
+ // public static ByteBuffer wrap(byte[] array, int offset, int length)
159
159
this .hasName ( "wrap" ) and
160
160
this .isStatic ( )
161
161
}
@@ -187,9 +187,9 @@ private module Buffers {
187
187
int idx ;
188
188
189
189
BufferBulkGetMethod ( ) {
190
- // public ByteBuffer get (byte[] dst)
191
- // public ByteBuffer get (byte[] dst, int offset, int length)
192
- // public ByteBuffer get (int index, byte[] dst, int offset, int length)
190
+ // public ByteBuffer get(byte[] dst)
191
+ // public ByteBuffer get(byte[] dst, int offset, int length)
192
+ // public ByteBuffer get(int index, byte[] dst, int offset, int length)
193
193
this .hasName ( "get" ) and
194
194
this .getParameterType ( idx ) instanceof Array
195
195
}
@@ -201,11 +201,11 @@ private module Buffers {
201
201
int idx ;
202
202
203
203
BufferBulkPutMethod ( ) {
204
- // public final ByteBuffer put (byte[] src)
205
- // public ByteBuffer put (byte[] src, int offset, int length)
206
- // public ByteBuffer put (int index, byte[] src, int offset, int length)
207
- // public ByteBuffer put (ByteBuffer src)
208
- // public final CharBuffer put (String src)
204
+ // public final ByteBuffer put(byte[] src)
205
+ // public ByteBuffer put(byte[] src, int offset, int length)
206
+ // public ByteBuffer put(int index, byte[] src, int offset, int length)
207
+ // public ByteBuffer put(ByteBuffer src)
208
+ // public final CharBuffer put(String src)
209
209
this .hasName ( "put" ) and
210
210
this .getParameterType ( idx ) instanceof RefType
211
211
}
0 commit comments