Java Doc for MethodImpl.java in  » IDE-Eclipse » jdt » org » eclipse » jdi » internal » 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 » IDE Eclipse » jdt » org.eclipse.jdi.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdi.internal.MirrorImpl
      org.eclipse.jdi.internal.AccessibleImpl
         org.eclipse.jdi.internal.TypeComponentImpl
            org.eclipse.jdi.internal.MethodImpl

MethodImpl
public class MethodImpl extends TypeComponentImpl implements Method,Locatable(Code)
Implementation of com.sun.jdi.Method.


Field Summary
final public static  intINVOKE_NONVIRTUAL_JDWP
    
final public static  intINVOKE_SINGLE_THREADED_JDWP
     InvokeOptions Constants.

Constructor Summary
public  MethodImpl(VirtualMachineImpl vmImpl, ReferenceTypeImpl declaringType, JdwpMethodID methodID, String name, String signature, String genericSignature, int modifierBits)
     Creates new MethodImpl.

Method Summary
public  ListallLineLocations()
    
public  ListallLineLocations(String stratum, String sourceName)
    
public  ListargumentTypeNames()
     Returns a text representation of all declared argument types of this method.
public  ListargumentTypes()
     Returns the list containing the type of each argument.
public  Listarguments()
    
public  byte[]bytecodes()
     Returns an array containing the bytecodes for this method.
public  intcompareTo(Object object)
    
public  booleanequals(Object object)
    
protected  voidflushStoredJdwpResults()
     Flushes all stored Jdwp results.
public static  voidgetConstantMaps()
     Retrieves constant mappings.
protected static  String[]getInvokeOptions()
    
protected  JdwpMethodIDgetMethodID()
    
public  inthashCode()
    
public  booleanisAbstract()
    
public  booleanisBridge()
    
public  booleanisConstructor()
    
public  booleanisNative()
    
public  booleanisObsolete()
    
See Also:   Method.isObsolete
See Also:   The JDK 1.4.0 specification states that obsolete methods
See Also:   are given an ID of zero.
public  booleanisStaticInitializer()
    
public  booleanisSynchronized()
    
public  booleanisVarArgs()
    
protected  MapjavaStratumCodeIndexToLine()
    
protected  intjavaStratumLineNumber(long lineCodeIndex)
    
protected  ListjavaStratumLineToCodeIndexes(int line)
    
protected  ListjavaStratumLocationsOfLines(List javaLines)
     Return a list which contains a location for the each disjoin range of code indice that have bean assigned to the given lines (by the compiler or/and the VM).
public  Locationlocation()
    
public  LocationlocationOfCodeIndex(long index)
    
public  ListlocationsOfLine(int line)
    
public  ListlocationsOfLine(String stratum, String sourceName, int lineNumber)
    
protected static  MethodImplreadWithNameSignatureModifiers(ReferenceTypeImpl target, ReferenceTypeImpl referenceType, boolean withGenericSignature, DataInputStream in)
    
protected static  MethodImplreadWithReferenceTypeWithTag(MirrorImpl target, DataInputStream in)
    
public  TypereturnType()
    
public  StringreturnTypeName()
    
public  Listvariables()
    
public  ListvariablesByName(String name)
    
public  voidwrite(MirrorImpl target, DataOutputStream out)
     Writes JDWP representation.
protected  voidwriteWithReferenceType(MirrorImpl target, DataOutputStream out)
     Writes JDWP representation, including ReferenceType.
protected  voidwriteWithReferenceTypeWithTag(MirrorImpl target, DataOutputStream out)
     Writes JDWP representation, including ReferenceType with Tag.

Field Detail
INVOKE_NONVIRTUAL_JDWP
final public static int INVOKE_NONVIRTUAL_JDWP(Code)



INVOKE_SINGLE_THREADED_JDWP
final public static int INVOKE_SINGLE_THREADED_JDWP(Code)
InvokeOptions Constants.




Constructor Detail
MethodImpl
public MethodImpl(VirtualMachineImpl vmImpl, ReferenceTypeImpl declaringType, JdwpMethodID methodID, String name, String signature, String genericSignature, int modifierBits)(Code)
Creates new MethodImpl.




Method Detail
allLineLocations
public List allLineLocations() throws AbsentInformationException(Code)

See Also:   com.sun.jdi.Method.allLineLocations



allLineLocations
public List allLineLocations(String stratum, String sourceName) throws AbsentInformationException(Code)

See Also:   Method.allLineLocations(StringString)



argumentTypeNames
public List argumentTypeNames()(Code)
Returns a text representation of all declared argument types of this method.



argumentTypes
public List argumentTypes() throws ClassNotLoadedException(Code)
Returns the list containing the type of each argument.



arguments
public List arguments() throws AbsentInformationException(Code)

See Also:   com.sun.jdi.Method.arguments



bytecodes
public byte[] bytecodes()(Code)
Returns an array containing the bytecodes for this method.



compareTo
public int compareTo(Object object)(Code)
Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.



equals
public boolean equals(Object object)(Code)
Returns true if two mirrors refer to the same entity in the target VM.
See Also:   java.lang.Object.equals(Object)



flushStoredJdwpResults
protected void flushStoredJdwpResults()(Code)
Flushes all stored Jdwp results.



getConstantMaps
public static void getConstantMaps()(Code)
Retrieves constant mappings.



getInvokeOptions
protected static String[] getInvokeOptions()(Code)
Returns a map with string representations of tags.



getMethodID
protected JdwpMethodID getMethodID()(Code)
Returns methodID of method.



hashCode
public int hashCode()(Code)
Returns the hash code value.



isAbstract
public boolean isAbstract()(Code)

See Also:   com.sun.jdi.Method.isAbstract



isBridge
public boolean isBridge()(Code)



isConstructor
public boolean isConstructor()(Code)

See Also:   com.sun.jdi.Method.isConstructor



isNative
public boolean isNative()(Code)

See Also:   com.sun.jdi.Method.isNative



isObsolete
public boolean isObsolete()(Code)

See Also:   Method.isObsolete
See Also:   The JDK 1.4.0 specification states that obsolete methods
See Also:   are given an ID of zero. It also states that when a method
See Also:   is redefined, the new method gets the ID of the old method.
See Also:   Thus, the JDWP query for isObsolete on JDK 1.4 will never return true
See Also:   for a non-zero method ID. The query is therefore not needed



isStaticInitializer
public boolean isStaticInitializer()(Code)

See Also:   com.sun.jdi.Method.isStaticInitializer



isSynchronized
public boolean isSynchronized()(Code)

See Also:   com.sun.jdi.Method.isSynchronized



isVarArgs
public boolean isVarArgs()(Code)



javaStratumCodeIndexToLine
protected Map javaStratumCodeIndexToLine() throws AbsentInformationException(Code)
Returns map of location to line number.



javaStratumLineNumber
protected int javaStratumLineNumber(long lineCodeIndex) throws AbsentInformationException(Code)
Returns the line number that corresponds to the given lineCodeIndex.



javaStratumLineToCodeIndexes
protected List javaStratumLineToCodeIndexes(int line) throws AbsentInformationException(Code)
Returns map of line number to locations.



javaStratumLocationsOfLines
protected List javaStratumLocationsOfLines(List javaLines) throws AbsentInformationException(Code)
Return a list which contains a location for the each disjoin range of code indice that have bean assigned to the given lines (by the compiler or/and the VM). Return an empty list if there is not executable code at the specified lines.



location
public Location location()(Code)

See Also:   com.sun.jdi.Locatable.location



locationOfCodeIndex
public Location locationOfCodeIndex(long index)(Code)

See Also:   com.sun.jdi.Method.locationOfCodeIndex(long)



locationsOfLine
public List locationsOfLine(int line) throws AbsentInformationException(Code)

See Also:   com.sun.jdi.Method.locationsOfLine(int)



locationsOfLine
public List locationsOfLine(String stratum, String sourceName, int lineNumber) throws AbsentInformationException(Code)

See Also:   Method.locationsOfLine(StringStringint)



readWithNameSignatureModifiers
protected static MethodImpl readWithNameSignatureModifiers(ReferenceTypeImpl target, ReferenceTypeImpl referenceType, boolean withGenericSignature, DataInputStream in) throws IOException(Code)
Reads JDWP representation and returns new instance.



readWithReferenceTypeWithTag
protected static MethodImpl readWithReferenceTypeWithTag(MirrorImpl target, DataInputStream in) throws IOException(Code)
Reads JDWP representation and returns new instance.



returnType
public Type returnType() throws ClassNotLoadedException(Code)

See Also:   com.sun.jdi.Method.returnType



returnTypeName
public String returnTypeName()(Code)

See Also:   com.sun.jdi.Method.returnTypeName



variables
public List variables() throws AbsentInformationException(Code)

See Also:   com.sun.jdi.Method.variables



variablesByName
public List variablesByName(String name) throws AbsentInformationException(Code)

See Also:   com.sun.jdi.Method.variablesByName(String)



write
public void write(MirrorImpl target, DataOutputStream out) throws IOException(Code)
Writes JDWP representation.



writeWithReferenceType
protected void writeWithReferenceType(MirrorImpl target, DataOutputStream out) throws IOException(Code)
Writes JDWP representation, including ReferenceType.



writeWithReferenceTypeWithTag
protected void writeWithReferenceTypeWithTag(MirrorImpl target, DataOutputStream out) throws IOException(Code)
Writes JDWP representation, including ReferenceType with Tag.



Fields inherited from org.eclipse.jdi.internal.TypeComponentImpl
protected int fModifierBits(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.TypeComponentImpl
public ReferenceType declaringType()(Code)(Java Doc)
public String genericSignature()(Code)(Java Doc)
public boolean isFinal()(Code)(Java Doc)
public boolean isStatic()(Code)(Java Doc)
public boolean isSynthetic()(Code)(Java Doc)
public int modifiers()(Code)(Java Doc)
public String name()(Code)(Java Doc)
public ReferenceTypeImpl referenceTypeImpl()(Code)(Java Doc)
public String signature()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from org.eclipse.jdi.internal.AccessibleImpl
final public static int MODIFIER_ACC_ABSTRACT(Code)(Java Doc)
final public static int MODIFIER_ACC_BRIDGE(Code)(Java Doc)
final public static int MODIFIER_ACC_ENUM(Code)(Java Doc)
final public static int MODIFIER_ACC_FINAL(Code)(Java Doc)
final public static int MODIFIER_ACC_NATIVE(Code)(Java Doc)
final public static int MODIFIER_ACC_PRIVATE(Code)(Java Doc)
final public static int MODIFIER_ACC_PROTECTED(Code)(Java Doc)
final public static int MODIFIER_ACC_PUBLIC(Code)(Java Doc)
final public static int MODIFIER_ACC_STATIC(Code)(Java Doc)
final public static int MODIFIER_ACC_STRICT(Code)(Java Doc)
final public static int MODIFIER_ACC_SUPER(Code)(Java Doc)
final public static int MODIFIER_ACC_SYNCHRONIZED(Code)(Java Doc)
final public static int MODIFIER_ACC_SYNTHETIC(Code)(Java Doc)
final public static int MODIFIER_ACC_TRANSIENT(Code)(Java Doc)
final public static int MODIFIER_ACC_VARARGS(Code)(Java Doc)
final public static int MODIFIER_ACC_VOLITILE(Code)(Java Doc)
final public static int MODIFIER_SYNTHETIC(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.AccessibleImpl
public static void getConstantMaps()(Code)(Java Doc)
public static String[] getModifierStrings()(Code)(Java Doc)
public boolean isPackagePrivate()(Code)(Java Doc)
public boolean isPrivate()(Code)(Java Doc)
public boolean isProtected()(Code)(Java Doc)
public boolean isPublic()(Code)(Java Doc)

Fields inherited from org.eclipse.jdi.internal.MirrorImpl
protected String fDescription(Code)(Java Doc)
protected VerboseWriter fVerboseWriter(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.MirrorImpl
public void checkVM(Mirror mirror) throws VMMismatchException(Code)(Java Doc)
public void defaultIOExceptionHandler(Exception e)(Code)(Java Doc)
public void defaultReplyErrorHandler(int error)(Code)(Java Doc)
public void disconnectVM()(Code)(Java Doc)
final public JdwpCommandPacket getCommandVM(int command, long timeout) throws InterruptedException(Code)(Java Doc)
public void handledJdwpEventSet()(Code)(Java Doc)
public void handledJdwpRequest()(Code)(Java Doc)
public void initJdwpEventSet(JdwpCommandPacket commandPacket)(Code)(Java Doc)
public void initJdwpRequest()(Code)(Java Doc)
public boolean readBoolean(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public byte[] readByteArray(int length, String description, DataInputStream in) throws IOException(Code)(Java Doc)
public char readChar(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public double readDouble(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public float readFloat(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public long readLong(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public String readString(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, byte[] outData)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ByteArrayOutputStream outData)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ObjectReferenceImpl object)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ReferenceTypeImpl refType)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public VerboseWriter verboseWriter()(Code)(Java Doc)
public VirtualMachine virtualMachine()(Code)(Java Doc)
public VirtualMachineImpl virtualMachineImpl()(Code)(Java Doc)
public void writeBoolean(boolean value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeChar(char value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeDouble(double value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeFloat(float value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeLong(long value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeString(String value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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