diff --git a/pkg/infrastructure/ast/ast_java/java_identify/java_identifier_listener.go b/pkg/infrastructure/ast/ast_java/java_identify/java_identifier_listener.go index 1d5e6d2a84fc3de9b0072fdc15abe59594d562c4..5e94b0d85f9fd21743614e5af7db0ffd7fbd7a3f 100644 --- a/pkg/infrastructure/ast/ast_java/java_identify/java_identifier_listener.go +++ b/pkg/infrastructure/ast/ast_java/java_identify/java_identifier_listener.go @@ -168,10 +168,6 @@ func (s *JavaIdentifierListener) ExitInterfaceDeclaration(ctx *parser.InterfaceD currentNode = core_domain.NewDataStruct() } -func (s *JavaIdentifierListener) EnterInterfaceBodyDeclaration(ctx *parser.InterfaceBodyDeclarationContext) { - hasEnterClass = true -} - func (s *JavaIdentifierListener) EnterInterfaceMethodDeclaration(ctx *parser.InterfaceMethodDeclarationContext) { startLine := ctx.GetStart().GetLine() startLinePosition := ctx.GetStart().GetColumn()