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>
-
-
Constructor Summary
Constructors Constructor Description DeclarationHandler(JavaLanguageFrontend lang)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)DeclarationhandleInitializerDeclaration(com.github.javaparser.ast.body.InitializerDeclaration initializerDecl)MethodDeclarationhandleMethodDeclaration(com.github.javaparser.ast.body.MethodDeclaration methodDecl)
-
-
-
Constructor Detail
-
DeclarationHandler
public DeclarationHandler(JavaLanguageFrontend lang)
-
-
Method Detail
-
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)
-
handleInitializerDeclaration
public Declaration handleInitializerDeclaration(com.github.javaparser.ast.body.InitializerDeclaration initializerDecl)
-
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)
-
-