{"id":73781,"library":"scannotation","title":"Scannotation","description":"Scans class files to build an annotation database, useful for frameworks that need to discover annotated classes at runtime.","status":"active","version":"1.0.3","language":"java","source_language":null,"source_url":"https://sourceforge.net/p/scannotation/code/HEAD/tree/","tags":["annotation","scanning","classpath","reflection"],"install":[{"cmd":"<dependency>\n  <groupId>org.scannotation</groupId>\n  <artifactId>scannotation</artifactId>\n  <version>1.0.3</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.scannotation:scannotation:1.0.3'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"AnnotationDB","correct":"org.scannotation.AnnotationDB"}],"quickstart":{"code":"import org.scannotation.AnnotationDB;\nimport java.net.URL;\n\npublic class Example {\n    public static void main(String[] args) throws Exception {\n        AnnotationDB db = new AnnotationDB();\n        URL[] urls = new URL[]{new URL(\"file:/path/to/classes\")};\n        db.scanArchives(urls);\n        System.out.println(db.getAnnotationIndex());\n    }\n}","lang":"java","description":"Scans class files and builds an annotation index."},"warnings":[{"fix":"Consider using modern alternatives like ClassGraph for better module support.","message":"Scannotation may not handle Java 9+ module system correctly; class scanning might miss annotations in modules.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'annot':8,17,21 'build':6 'class':3,18 'classpath':23 'databas':9 'discov':16 'file':4 'framework':12 'need':14 'reflect':24 'runtim':20 'scan':2,22 'scannot':1 'use':10","created_at":"2026-06-17T18:54:58.584787+00:00","updated_at":"2026-06-17T18:54:58.584787+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://scannotation.sf.net","github":null,"docs":"https://appdoc.app/artifact/org.scannotation/scannotation/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}