Snippets Collections
String fileFullPath = "Your\\java\\ file \\full\\path";
    JavaDocBuilder builder = new JavaDocBuilder();
    builder.addSource(new FileReader( fileFullPath  ));

    JavaSource src = builder.getSources()[0];
    String[] imports = src.getImports();

    for ( String imp : imports )

Wed Apr 01 2020 10:09:44 GMT+0000 (UTC)

#java #java #reflection #dependencies

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension