public class MethodEntry extends MemberEntry
fileEntry, memberName, modifiers, ownerType, valueType| Constructor and Description |
|---|
MethodEntry(DebugInfoBase debugInfoBase,
DebugInfoProvider.DebugMethodInfo debugMethodInfo,
FileEntry fileEntry,
String methodName,
ClassEntry ownerType,
TypeEntry valueType,
TypeEntry[] paramTypes,
DebugInfoProvider.DebugLocalInfo[] paramInfos,
DebugInfoProvider.DebugLocalInfo thisParam) |
| Modifier and Type | Method and Description |
|---|---|
DebugInfoProvider.DebugLocalInfo |
getLocal(int i) |
int |
getLocalCount() |
DebugInfoProvider.DebugLocalInfo |
getParam(int i) |
int |
getParamCount() |
int |
getParamLine(int idx) |
String |
getParamName(int idx) |
TypeEntry |
getParamType(int idx) |
String |
getParamTypeName(int idx) |
TypeEntry[] |
getParamTypes() |
String |
getSymbolName() |
DebugInfoProvider.DebugLocalInfo |
getThisParam() |
int |
getVtableOffset() |
boolean |
isConstructor() |
boolean |
isDeopt() |
boolean |
isInlined() |
boolean |
isInRange() |
boolean |
isOverride() |
boolean |
isVirtual() |
String |
methodName() |
ClassEntry |
ownerType() |
DebugInfoProvider.DebugLocalInfo |
recordLocal(DebugInfoProvider.DebugLocalValueInfo localValueInfo)
Return a unique local or parameter variable associated with the value, optionally recording
it as a new local variable or fail, returning null, when the local value does not conform
with existing recorded parameter or local variables.
|
void |
updateRangeInfo(DebugInfoBase debugInfoBase,
DebugInfoProvider.DebugMethodInfo debugMethodInfo)
Sets
isInRange and ensures that the fileEntry is up to date. |
fieldName, getFileEntry, getFileName, getModifiers, getModifiersString, getValueTypepublic MethodEntry(DebugInfoBase debugInfoBase, DebugInfoProvider.DebugMethodInfo debugMethodInfo, FileEntry fileEntry, String methodName, ClassEntry ownerType, TypeEntry valueType, TypeEntry[] paramTypes, DebugInfoProvider.DebugLocalInfo[] paramInfos, DebugInfoProvider.DebugLocalInfo thisParam)
public String methodName()
public ClassEntry ownerType()
ownerType in class MemberEntrypublic int getParamCount()
public TypeEntry getParamType(int idx)
public TypeEntry[] getParamTypes()
public String getParamTypeName(int idx)
public String getParamName(int idx)
public int getParamLine(int idx)
public DebugInfoProvider.DebugLocalInfo getParam(int i)
public DebugInfoProvider.DebugLocalInfo getThisParam()
public int getLocalCount()
public DebugInfoProvider.DebugLocalInfo getLocal(int i)
public boolean isDeopt()
public boolean isInRange()
public boolean isInlined()
public boolean isOverride()
public boolean isConstructor()
public void updateRangeInfo(DebugInfoBase debugInfoBase, DebugInfoProvider.DebugMethodInfo debugMethodInfo)
isInRange and ensures that the fileEntry is up to date. If the
MethodEntry was added by traversing the DeclaredMethods of a Class its fileEntry will point
to the original source file, thus it will be wrong for substituted methods. As a result when
setting a MethodEntry as isInRange we also make sure that its fileEntry reflects the file
info associated with the corresponding Range.debugInfoBase - debugMethodInfo - public boolean isVirtual()
public int getVtableOffset()
public String getSymbolName()
public DebugInfoProvider.DebugLocalInfo recordLocal(DebugInfoProvider.DebugLocalValueInfo localValueInfo)
localValueInfo -