logo       


RE: How to fetch FieldName from aInstructionHandle/Instruction: msg#00019

Subject: RE: How to fetch FieldName from aInstructionHandle/Instruction
This is a multi-part message in MIME format.

Thanks all,

 

My issues are resolved, and the detector is working successfully… J

 


From: findbugs-discuss-bounces@xxxxxxxxxx [mailto:findbugs-discuss-bounces@xxxxxxxxxx] On Behalf Of Siva Pannier
Sent: Wednesday, November 14, 2007 10:24 AM
To: Dave Brosius; findbugs-discuss@xxxxxxxxxxxxxxxxxx
Subject: RE: [FB-Discuss] How to fetch FieldName from aInstructionHandle/Instruction

 

Thanks Dave,

 

I have determined the object type and method name as below,

 

ReferenceType objType= ((INVOKEINTERFACE)ins).getReferenceType(methodGen.getConstantPool());

String methodName= ((INVOKEINTERFACE)ins).getMethodName(methodGen.getConstantPool());

 

Where “ins”  is of type “Instruction”.

 

When I am trying to find the fieldname, it seems to be tough to fetch.

 

Thanks & Regards,

Siva…

 

 


From: Dave Brosius [mailto:dbrosius@xxxxxxxxxxxxxxx]
Sent: Wednesday, November 14, 2007 9:08 AM
To: Siva Pannier; findbugs-discuss@xxxxxxxxxxxxxxxxxx
Subject: Re: [FB-Discuss] How to fetch FieldName from aInstructionHandle/Instruction

 

The InvokeInterface instruction doesn't really have anything to do with a field name.

 

Given the Instruction, you can determine what subclass of Instruction it is, cast it to that, and then use accessors on that subclass to find more information

 

See for instance the

CPInstruction

class

----- Original Message -----

From: Siva Pannier

Sent: Tuesday, November 13, 2007 11:35 AM

Subject: [FB-Discuss] How to fetch FieldName from aInstructionHandle/Instruction

 

Dear All,

 

Can some one please help me, how to fetch FieldName from a InstructionHandle/Instruction object.

 

I am particularly stuck at instruction ‘INVOKEINTERFACE’, where I need to find the FieldName.

 

Kindly help me on this.

 

Thanks in advance,

Siva…

============================================================================================================================

Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================


_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@xxxxxxxxxxxxxxxxxx
http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss

============================================================================================================================

Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================
============================================================================================================================

Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe