There are 1 code examples for org.apache.bcel.generic.ConstantPoolGen.
The API names are highlighted below.
You can use
button
to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.
Project Name: randoop Package: randoop.instrument
Source Code: Instrument.java (Click to view .java file)
Method Code:
/**
* Returns the attribute name for the specified attribute
*/
public String get_attribute_name(Attribute a){
int con_index=a.getNameIndex();
Constant c=pgen.getConstant(con_index);
String att_name=((ConstantUtf8)c).getBytes();
return (att_name);
}