def enterVariableDeclaratorId( self, ctx: JavaParserLabeled.VariableDeclaratorIdContext): if not self.is_source_class: return None field_identifier = ctx.IDENTIFIER().getText() if field_identifier in self.moved_fields: self.detected_field = field_identifier
def exitVariableDeclaratorId( self, ctx: JavaParserLabeled.VariableDeclaratorIdContext): self.symbol_table.Insert(self.scope_handler.getScope(), ctx.IDENTIFIER().getText(), self.last_used_type)
def enterVariableDeclaratorId(self, ctx: JavaParserLabeled.VariableDeclaratorIdContext): if ctx.IDENTIFIER().getText() == self.source_field and self.in_field: self.detected_field = True
def enterVariableDeclaratorId( self, ctx: JavaParserLabeled.VariableDeclaratorIdContext): if self.is_member and ctx.IDENTIFIER().getText() == self.field_name: self.do_delete = True
def exitVariableDeclaratorId( self, ctx: JavaParserLabeled.VariableDeclaratorIdContext): variable_name = ctx.IDENTIFIER().getText() if self.is_source_class: if variable_name == self.field_name: self.detected_field = True