站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ASMifiable (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.asm.util.attrs
Interface ASMifiable

All Known Implementing Classes:
ASMStackMapAttribute, ASMStackMapTableAttribute

public interface ASMifiable

An attribute that can print the ASM code to create an equivalent attribute. Implementation should print the ASM code that generates attribute data structures for current attribute state.

Author:
Eugene Kuleshov

Method Summary
 void asmify(StringBuffer buf, String varName, Map labelNames)
          Prints the ASM code to create an attribute equal to this attribute.
 

Method Detail

asmify

void asmify(StringBuffer buf,
            String varName,
            Map labelNames)
Prints the ASM code to create an attribute equal to this attribute.

Parameters:
buf - A buffer used for printing Java code.
varName - name of the variable in a printed code used to store attribute instance.
labelNames - map of label instances to their names.


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.