java.lang.Object | |||
↳ | com.sun.tools.jdi.TypeComponentImpl | ||
↳ | com.sun.tools.jdi.MethodImpl | ||
↳ | com.sun.tools.jdi.NonConcreteMethodImpl |
![]() |
Represents non-concrete (that is, native or abstract) methods. Private to MethodImpl.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list containing a
Location object for
each executable source line in this method. | |||||||||||
Returns a List containing all
Location objects
that map to the given line number and source name. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns a list containing a Location
object for
each executable source line in this method.
Each location maps a source line to a range of code
indices.
The beginning of the range can be determined through
codeIndex()
.
The returned list is ordered by code index
(from low to high).
The returned list may contain multiple locations for a particular line number, if the compiler and/or VM has mapped that line to two or more disjoint code index ranges.
If the method is native or abstract, an empty list is returned.
Returned list is for the specified stratum
(see Location
for a description of strata).
stratumID | The stratum to retrieve information from
or null for the defaultStratum() |
---|---|
sourceName | Return locations only within this
source file or null to return locations. |
Location
objects.Returns a List containing all Location
objects
that map to the given line number and source name.
Returns a list containing each Location
that maps
to the given line. The returned list will contain a
location for each disjoint range of code indices that have
been assigned to the given line by the compiler and/or
VM. Each returned location corresponds to the beginning of
this range. An empty list will be returned if there is no
executable code at the specified line number; specifically,
native and abstract methods will always return an empty
list.
Returned list is for the specified stratum
(see Location
for a description of strata).
stratumID | the stratum to use for comparing line number and source name, or null to use the default stratum |
---|---|
sourceName | the source name containing the line number, or null to match all source names |
lineNumber | the line number |
Location
objects that map to
the given line number.