类 JavaParserUtil
java.lang.Object
cn.vonce.sql.uitls.JavaParserUtil
Java解析工具
- 作者:
- Jovi
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static List<com.github.javaparser.ast.body.FieldDeclaration>getAllFieldDeclaration(String sourceRoot, com.github.javaparser.ast.CompilationUnit compilationUnit, com.github.javaparser.ast.body.TypeDeclaration<?> typeDeclaration) static StringgetCommentContent(String rawComment) static String[]getCommentTexts(String rawComment) static StringgetFieldCommentContent(com.github.javaparser.ast.body.FieldDeclaration fieldDeclaration) static StringgetFieldCommentContent(String fieldName, List<com.github.javaparser.ast.body.FieldDeclaration> fieldDeclarationList) static com.github.javaparser.ast.body.FieldDeclarationgetFieldDeclaration(String fieldName, List<com.github.javaparser.ast.body.FieldDeclaration> fieldDeclarationList) static JavaParserUtil.DeclarationgetFieldDeclarationList(String sourceRoot, String javaFilePath) static StringgetSuperClassPath(String sourceRoot, String packageName, String superClassName, List<com.github.javaparser.ast.ImportDeclaration> importDeclarationList)
-
构造器详细资料
-
JavaParserUtil
public JavaParserUtil()
-
-
方法详细资料
-
getCommentContent
-
getCommentTexts
-
getFieldCommentContent
public static String getFieldCommentContent(com.github.javaparser.ast.body.FieldDeclaration fieldDeclaration) -
getFieldCommentContent
-
getFieldDeclaration
-
getAllFieldDeclaration
-
getSuperClassPath
-
getFieldDeclarationList
public static JavaParserUtil.Declaration getFieldDeclarationList(String sourceRoot, String javaFilePath) throws FileNotFoundException
-