public void prepare ( ) { for ( JavaClass jc : heap . getAllClasses ( ) ) { for ( TypeFilterStep it : interestingTypes ) { if ( it . evaluate ( jc ) ) { rootClasses . add ( jc . getName ( ) ) ; } } for ( TypeFilterStep bt : blacklistedTypes ) { if ( bt . evaluate ( jc ) ) { blacklist . add ( jc . getName ( ) ) ; } } for ( PathStep [ ] bp : blacklistedMethods ) { TypeFilterStep ts = ( TypeFilterStep ) bp [ 0 ] ; String fn = ( ( FieldStep ) bp [ 1 ] ) . getFieldName ( ) ; if ( ts . evaluate ( jc ) ) { for ( Field f : jc . getFields ( ) ) { if ( fn == null || fn . equals ( f . getName ( ) ) ) { blacklist . add ( jc . getName ( ) + "#" + f . getName ( ) ) ; } } } } } }
Process entry point and blacklist configuration