SAP Knowledge Base Article - Preview

2550284 - Reverse of Java class is incorrect when Annotation objects are involved - SAP PD

Symptom

  • Reversing multiple Java files (or directories) that contain class(es) and Annotation type objects.
    As an example,

/* File1 */
package com.sap.ps.powerdesigner.pkg1;
public @interface Anno {
}

/* File2 */
package com.sap.ps.powerdesigner.pkg2;
public @interface Anno {
}

/* File3 */
package com.sap.ps.powerdesigner.pkg3;
@com.sap.ps.powerdesigner.pkg1.Anno
@com.sap.ps.powerdesigner.pkg2.Anno
public class myClass {
}

  • SAP PD fails to identify the package the annotations come from.

    KBA 2550284_1.png

  • It works fine when reversing only the Java file that contains the class.

    KBA 2550284_2.png

Read more...

Environment

  • SAP PowerDesigner (PD) 16.6
  • Java

Product

SAP PowerDesigner 16.6

Keywords

RE, engineering, Annotationtype, anno, 811399, CR811399, CR#811399 , KBA , BC-SYB-PD , PowerDesigner , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.