Class DeclarationHandler
java.lang.Object
de.fraunhofer.aisec.cpg.frontends.Handler<Declaration,com.github.javaparser.ast.body.BodyDeclaration,JavaLanguageFrontend>
de.fraunhofer.aisec.cpg.frontends.java.DeclarationHandler
public class DeclarationHandler extends Handler<Declaration,com.github.javaparser.ast.body.BodyDeclaration,JavaLanguageFrontend>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DeclarationHandler(JavaLanguageFrontend lang) -
Method Summary
Modifier and Type Method Description DeclarationhandleAnnotationDeclaration(com.github.javaparser.ast.body.AnnotationDeclaration annotationConstDecl)DeclarationhandleAnnotationMemberDeclaration(com.github.javaparser.ast.body.AnnotationMemberDeclaration annotationMemberDecl)RecordDeclarationhandleClassOrInterfaceDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classInterDecl)ConstructorDeclarationhandleConstructorDeclaration(com.github.javaparser.ast.body.ConstructorDeclaration constructorDecl)EnumConstantDeclarationhandleEnumConstantDeclaration(com.github.javaparser.ast.body.EnumConstantDeclaration enumConstDecl)EnumDeclarationhandleEnumDeclaration(com.github.javaparser.ast.body.EnumDeclaration enumDecl)FieldDeclarationhandleFieldDeclaration(com.github.javaparser.ast.body.FieldDeclaration fieldDecl)MethodDeclarationhandleMethodDeclaration(com.github.javaparser.ast.body.MethodDeclaration methodDecl)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DeclarationHandler
-
-
Method Details
-
handleConstructorDeclaration
public ConstructorDeclaration handleConstructorDeclaration(com.github.javaparser.ast.body.ConstructorDeclaration constructorDecl) -
handleMethodDeclaration
public MethodDeclaration handleMethodDeclaration(com.github.javaparser.ast.body.MethodDeclaration methodDecl) -
handleClassOrInterfaceDeclaration
public RecordDeclaration handleClassOrInterfaceDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classInterDecl) -
handleFieldDeclaration
public FieldDeclaration handleFieldDeclaration(com.github.javaparser.ast.body.FieldDeclaration fieldDecl) -
handleEnumDeclaration
public EnumDeclaration handleEnumDeclaration(com.github.javaparser.ast.body.EnumDeclaration enumDecl) -
handleEnumConstantDeclaration
public EnumConstantDeclaration handleEnumConstantDeclaration(com.github.javaparser.ast.body.EnumConstantDeclaration enumConstDecl) -
handleAnnotationDeclaration
public Declaration handleAnnotationDeclaration(com.github.javaparser.ast.body.AnnotationDeclaration annotationConstDecl) -
handleAnnotationMemberDeclaration
public Declaration handleAnnotationMemberDeclaration(com.github.javaparser.ast.body.AnnotationMemberDeclaration annotationMemberDecl)
-