Item newNameTypeItem ( final String name , final String desc ) { key2 . set ( NAME_TYPE , name , desc , null ) ; Item result = get ( key2 ) ; if ( result == null ) { put122 ( NAME_TYPE , newUTF8 ( name ) , newUTF8 ( desc ) ) ; result = new Item ( index ++ , key2 ) ; put ( result ) ; } return result ; }
Adds a name and type to the constant pool of the class being build . Does nothing if the constant pool already contains a similar item .