public class JavaFileParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JavaFileParser.JavaFileFeatures |
Modifier and Type | Method and Description |
---|---|
static JavaFileParser |
createJavaFileParser(JavacLanguageLevelOptions options) |
JavaFileParser.JavaFileFeatures |
extractFeaturesFromJavaCode(String code) |
com.google.common.collect.ImmutableSortedSet<String> |
getExportedSymbolsFromString(String code) |
Optional<String> |
getPackageNameFromSource(String code) |
public static JavaFileParser createJavaFileParser(JavacLanguageLevelOptions options)
public com.google.common.collect.ImmutableSortedSet<String> getExportedSymbolsFromString(String code)
public JavaFileParser.JavaFileFeatures extractFeaturesFromJavaCode(String code)