private Item newLong ( final long value ) { Item result = get ( key . set ( LONG , value ) ) ; if ( result == null ) { pool . putByte ( LONG ) . putLong ( value ) ; result = new Item ( poolIndex , key ) ; put ( result ) ; poolIndex += 2 ; } return result ; }
Adds a long to the constant pool of the class being build . Does nothing if the constant pool already contains a similar item .