nbauma109 commented on code in PR #177:
URL: https://github.com/apache/commons-bcel/pull/177#discussion_r1034720605


##########
src/main/java/org/apache/bcel/classfile/Code.java:
##########
@@ -247,6 +247,20 @@ public LineNumberTable getLineNumberTable() {
         return null;
     }
 
+    /**
+     * Finds the first attribute of {@link StackMap} instance.
+     * @return StackMap of Code, if it has one, else null.
+     * @since 6.7.1
+     */
+    public StackMap getStackMap() {

Review Comment:
   There may be at most one StackMapTable attribute in the attributes table of 
a Code attribute. 
https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.4



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to