Code example for PackageInfo

0
 
        @Override 
        public PackageInfo getPackageInfo(String packageName, int flags)
                throws NameNotFoundException { 
 
            PackageInfo info = new PackageInfo();
            info.signatures = new Signature[] {
                new Signature(testSignature)
            }; 
            return info;
        } 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java