public String prototype(cp_info constant_pool[]){
  String access, rt, name, params;
  Code_attribute c=locate_code_attribute();
  access=ClassFile.access_string(access_flags," ");
  rt=ClassFile.parseMethodDesc_return(cp_info.getTypeDescr(constant_pool,descriptor_index));
  name=toName(constant_pool);
  params=ClassFile.parseMethodDesc_params(cp_info.getTypeDescr(constant_pool,descriptor_index));
  if (access.length() > 0)   return access + " " + rt+ " "+ name+ "("+ params+ ")";
  return rt + " " + name+ "("+ params+ ")";
}

public String prototype ( cp_info constant_pool [ ] ) { String access , rt , name , params ; Code_attribute c = locate_code_attribute ( ) ; access = ClassFile . access_string ( access_flags , " " ) ; rt = ClassFile . parseMethodDesc_return ( cp_info . getTypeDescr ( constant_pool , descriptor_index ) ) ; name = toName ( constant_pool ) ; params = ClassFile . parseMethodDesc_params ( cp_info . getTypeDescr ( constant_pool , descriptor_index ) ) ; if ( access . length ( ) > 0 ) return access + " " + rt + " " + name + "(" + params + ")" ; return rt + " " + name + "(" + params + ")" ; }
returns the prototype of this field .
