Java Doc for BasicBlock.java in  » Code-Analyzer » findbugs » edu » umd » cs » findbugs » ba » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » findbugs » edu.umd.cs.findbugs.ba 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


edu.umd.cs.findbugs.ba.BasicBlock

BasicBlock
public class BasicBlock extends AbstractVertex implements Debug(Code)
Simple basic block abstraction for BCEL.
author:
   David Hovemeyer
See Also:   CFG

Inner Class :public class InstructionIterator implements Iterator<InstructionHandle>


Constructor Summary
public  BasicBlock()
     Constructor.

Method Summary
public  voidaddInstruction(InstructionHandle handle)
     Add an InstructionHandle to the basic block.
public  booleancontainsInstruction(InstructionHandle handle)
     Return whether or not the basic block contains the given instruction.
public  booleancontainsInstructionWithOffset(int offset)
     Return whether or not the basic block contains the instruction with the given bytecode offset.
public  CodeExceptionGengetExceptionGen()
     Get CodeExceptionGen object; returns null if this basic block is not the entry point of an exception handler.
public  InstructionHandlegetExceptionThrower()
     Get the instruction for which this block is an exception thrower.
public  InstructionHandlegetFirstInstruction()
     Get the first instruction in the basic block.
public  intgetId()
     Get the basic block's integer label.
public  InstructionHandlegetLastInstruction()
     Get the last instruction in the basic block.
 intgetNumNonExceptionSuccessors()
    
public  InstructionHandlegetPredecessorOf(InstructionHandle handle)
     Get the predecessor of given instruction within the basic block.
public  InstructionHandlegetSuccessorOf(InstructionHandle handle)
     Get the successor of given instruction within the basic block.
public  InstructionIteratorinstructionIterator()
     Get an Iterator over the instructions in the basic block.
public  Iterator<InstructionHandle>instructionReverseIterator()
     Get an Iterator over the instructions in the basic block in reverse order.
public  booleanisEmpty()
     Return true if there are no Instructions in this basic block.
public  booleanisExceptionHandler()
    
public  booleanisExceptionThrower()
     Return whether or not this block is an exception thrower.
public  booleanisInJSRSubroutine()
    
public  booleanisNullCheck()
     Return whether or not this block is a null check.
public  intpos()
    
public  voidsetExceptionGen(CodeExceptionGen exceptionGen)
     Set the CodeExceptionGen object.
public  voidsetExceptionThrower(InstructionHandle exceptionThrower)
     Set the instruction for which this block is the ETB.
 voidsetInJSRSubroutine(boolean inJSRSubroutine)
    
 voidsetNumNonExceptionSuccessors(int numNonExceptionSuccessors)
    
public  StringtoString()
    


Constructor Detail
BasicBlock
public BasicBlock()(Code)
Constructor.




Method Detail
addInstruction
public void addInstruction(InstructionHandle handle)(Code)
Add an InstructionHandle to the basic block.
Parameters:
  handle - the InstructionHandle



containsInstruction
public boolean containsInstruction(InstructionHandle handle)(Code)
Return whether or not the basic block contains the given instruction.
Parameters:
  handle - the instruction true if the block contains the instruction, false otherwise



containsInstructionWithOffset
public boolean containsInstructionWithOffset(int offset)(Code)
Return whether or not the basic block contains the instruction with the given bytecode offset.
Parameters:
  offset - the bytecode offset true if the block contains an instruction with the given offset,false if it does not



getExceptionGen
public CodeExceptionGen getExceptionGen()(Code)
Get CodeExceptionGen object; returns null if this basic block is not the entry point of an exception handler. the CodeExceptionGen object, or null



getExceptionThrower
public InstructionHandle getExceptionThrower()(Code)
Get the instruction for which this block is an exception thrower. the instruction, or null if this block is not an exception thrower



getFirstInstruction
public InstructionHandle getFirstInstruction()(Code)
Get the first instruction in the basic block.



getId
public int getId()(Code)
Get the basic block's integer label. the BasicBlock's integer label



getLastInstruction
public InstructionHandle getLastInstruction()(Code)
Get the last instruction in the basic block.



getNumNonExceptionSuccessors
int getNumNonExceptionSuccessors()(Code)
Returns the numNonExceptionSuccessors.



getPredecessorOf
public InstructionHandle getPredecessorOf(InstructionHandle handle)(Code)
Get the predecessor of given instruction within the basic block.
Parameters:
  handle - the instruction the instruction's predecessor, or null if the instructionis the first in the basic block



getSuccessorOf
public InstructionHandle getSuccessorOf(InstructionHandle handle)(Code)
Get the successor of given instruction within the basic block.
Parameters:
  handle - the instruction the instruction's successor, or null if the instructionis the last in the basic block



instructionIterator
public InstructionIterator instructionIterator()(Code)
Get an Iterator over the instructions in the basic block.



instructionReverseIterator
public Iterator<InstructionHandle> instructionReverseIterator()(Code)
Get an Iterator over the instructions in the basic block in reverse order. This is useful for backwards dataflow analyses.



isEmpty
public boolean isEmpty()(Code)
Return true if there are no Instructions in this basic block.



isExceptionHandler
public boolean isExceptionHandler()(Code)
Is this block an exception handler?



isExceptionThrower
public boolean isExceptionThrower()(Code)
Return whether or not this block is an exception thrower.



isInJSRSubroutine
public boolean isInJSRSubroutine()(Code)



isNullCheck
public boolean isNullCheck()(Code)
Return whether or not this block is a null check.



pos
public int pos()(Code)



setExceptionGen
public void setExceptionGen(CodeExceptionGen exceptionGen)(Code)
Set the CodeExceptionGen object. Marks this basic block as the entry point of an exception handler.
Parameters:
  exceptionGen - the CodeExceptionGen object for the block



setExceptionThrower
public void setExceptionThrower(InstructionHandle exceptionThrower)(Code)
Set the instruction for which this block is the ETB.
Parameters:
  exceptionThrower - the instruction



setInJSRSubroutine
void setInJSRSubroutine(boolean inJSRSubroutine)(Code)



setNumNonExceptionSuccessors
void setNumNonExceptionSuccessors(int numNonExceptionSuccessors)(Code)

Parameters:
  numNonExceptionSuccessors - The numNonExceptionSuccessors to set.



toString
public String toString()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.