发明名称 Annotation processing of computer files
摘要 A method and apparatus for annotation processing of computer files. An embodiment of A method for processing a data stream includes receiving a data stream input at a scanner component, where the data stream input represents multiple program elements. The data stream input is scanned for annotations, with scanning the data stream input including: encountering a description of a data type; informing a handler component regarding the data type description; determining whether to process program elements within the data type, with the determination being based at least in part on any messages received from the handler component indicating that data type is not of interest; and, if there is a determination to process the program elements in the data type, scanning the program elements of the type to identify annotated program elements and associated annotation values.
申请公布号 US8954840(B2) 申请公布日期 2015.02.10
申请号 US200812184911 申请日期 2008.08.01
申请人 SAP SE 发明人 Theobald Dietmar
分类号 G06F17/00;G06F17/24;G06F9/44 主分类号 G06F17/00
代理机构 Schwegman Lundberg & Woessner, P.A. 代理人 Schwegman Lundberg & Woessner, P.A.
主权项 1. A method for processing a data stream comprising: receiving a data stream input at a scanner component, the data stream input representing a plurality of program elements; and scanning the data stream input for annotations of the program elements, the scanning of the data stream input including: encountering a data type description for a Java class type,informing a handler component regarding the data type description,determining whether to process program elements within the class type, the determination being based at least in part on any messages received from the handler component indicating that the class type is not of interest,scanning the program elements within the class type to identify annotated program elements and annotation values of the identified annotated program elements based on the determination to process the program elements within the class type, andskipping the program elements within the class type and annotation values of the program elements within the class type based on the determination not to process the program elements within the class type.
地址 Walldorf DE