private void initCustomTagletArrays ( ) { Iterator < Taglet > it = customTags . values ( ) . iterator ( ) ; ArrayList < Taglet > pTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > tTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > fTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > cTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > mTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > iTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > oTags = new ArrayList <> ( customTags . size ( ) ) ; ArrayList < Taglet > sTags = new ArrayList <> ( ) ; Taglet current ; while ( it . hasNext ( ) ) { current = it . next ( ) ; if ( current . inPackage ( ) && ! current . isInlineTag ( ) ) { pTags . add ( current ) ; } if ( current . inType ( ) && ! current . isInlineTag ( ) ) { tTags . add ( current ) ; } if ( current . inField ( ) && ! current . isInlineTag ( ) ) { fTags . add ( current ) ; } if ( current . inConstructor ( ) && ! current . isInlineTag ( ) ) { cTags . add ( current ) ; } if ( current . inMethod ( ) && ! current . isInlineTag ( ) ) { mTags . add ( current ) ; } if ( current . isInlineTag ( ) ) { iTags . add ( current ) ; } if ( current . inOverview ( ) && ! current . isInlineTag ( ) ) { oTags . add ( current ) ; } } packageTags = pTags . toArray ( new Taglet [ ] { } ) ; typeTags = tTags . toArray ( new Taglet [ ] { } ) ; fieldTags = fTags . toArray ( new Taglet [ ] { } ) ; constructorTags = cTags . toArray ( new Taglet [ ] { } ) ; methodTags = mTags . toArray ( new Taglet [ ] { } ) ; overviewTags = oTags . toArray ( new Taglet [ ] { } ) ; inlineTags = iTags . toArray ( new Taglet [ ] { } ) ; //Init the serialized form tags sTags . add ( customTags . get ( "serialData" ) ) ; sTags . add ( customTags . get ( "throws" ) ) ; if ( ! nosince ) sTags . add ( customTags . get ( "since" ) ) ; sTags . add ( customTags . get ( "see" ) ) ; serializedFormTags = sTags . toArray ( new Taglet [ ] { } ) ; }
Initialize the custom tag arrays .