protected PackageInfo processPackageInfo ( InputStream packageInfoResource ) { if ( packageInfoResource == null ) return null ; PackageInfo packageInfo = null ; try { ClassReader cr = new ClassReader ( packageInfoResource ) ; TraceConfigPackageVisitor packageVisitor = new TraceConfigPackageVisitor ( ) ; cr . accept ( packageVisitor , ClassReader . SKIP_CODE | ClassReader . SKIP_DEBUG | ClassReader . SKIP_FRAMES ) ; packageInfo = packageVisitor . getPackageInfo ( ) ; } catch ( IOException ioe ) { ioe . printStackTrace ( ) ; } return packageInfo ; }
Process the package level annotation data for trace instrumentation .