APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.tools.example.debug.tty

pack-priv Class Env

extends Object
Class Inheritance
Imports
com.sun.jdi.*, com.sun.jdi.request.StepRequest, .MethodEntryRequest, .MethodExitRequest, java.util.*, java.io.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static Method
private static VMConnection
private static List<String>
private static HashMap<String, Value>
private static final int
private static List<Env.SourceCode>
private static SourceMapper
pack-priv static EventRequestSpecList

Constructor Summary

AccessConstructor and Description
pack-priv
Env()

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
pack-priv static void
pack-priv static void
pack-priv static Method
pack-priv static VMConnection
pack-priv static String
description(ObjectReference ref)

Return a description of an object.

private static List<String>
pack-priv static String
pack-priv static ReferenceType
pack-priv static Value
pack-priv static Set<String>
pack-priv static String
pack-priv static void
init(String connectSpec, boolean openNow, int flags, boolean trackVthreads, String extraOptions)

pack-priv static void
pack-priv static void
setExcludes(String excludeString)

pack-priv static void
pack-priv static void
pack-priv static void
pack-priv static void
setTraceFlags(int flags)

pack-priv static void
pack-priv static void
shutdown(String message)

pack-priv static synchronized String
sourceLine(Location location, int lineNumber)

pack-priv static BufferedReader
sourceReader(Location location)

Return a Reader corresponding to the source of this location.

pack-priv static VirtualMachine
vm()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

atExitMethodback to summary
private static Method atExitMethod
connectionback to summary
private static VMConnection connection
excludesback to summary
private static List<String> excludes
savedValuesback to summary
private static HashMap<String, Value> savedValues
SOURCE_CACHE_SIZEback to summary
private static final int SOURCE_CACHE_SIZE
sourceCacheback to summary
private static List<Env.SourceCode> sourceCache
sourceMapperback to summary
private static SourceMapper sourceMapper
specListback to summary
pack-priv static EventRequestSpecList specList

Constructor Detail

Envback to summary
pack-priv Env()

Method Detail

addExcludesback to summary
pack-priv static void addExcludes(StepRequest request)
addExcludesback to summary
pack-priv static void addExcludes(MethodEntryRequest request)
addExcludesback to summary
pack-priv static void addExcludes(MethodExitRequest request)
atExitMethodback to summary
pack-priv static Method atExitMethod()
connectionback to summary
pack-priv static VMConnection connection()
descriptionback to summary
pack-priv static String description(ObjectReference ref)

Return a description of an object.

excludesback to summary
private static List<String> excludes()
excludesStringback to summary
pack-priv static String excludesString()
getReferenceTypeFromTokenback to summary
pack-priv static ReferenceType getReferenceTypeFromToken(String idToken)
getSavedValueback to summary
pack-priv static Value getSavedValue(String key)
getSaveKeysback to summary
pack-priv static Set<String> getSaveKeys()
getSourcePathback to summary
pack-priv static String getSourcePath()
initback to summary
pack-priv static void init(String connectSpec, boolean openNow, int flags, boolean trackVthreads, String extraOptions)
setAtExitMethodback to summary
pack-priv static void setAtExitMethod(Method mmm)
setExcludesback to summary
pack-priv static void setExcludes(String excludeString)
setSavedValueback to summary
pack-priv static void setSavedValue(String key, Value value)
setSourcePathback to summary
pack-priv static void setSourcePath(String srcPath)
setSourcePathback to summary
pack-priv static void setSourcePath(List<String> srcList)
setTraceFlagsback to summary
pack-priv static void setTraceFlags(int flags)
shutdownback to summary
pack-priv static void shutdown()
shutdownback to summary
pack-priv static void shutdown(String message)
sourceLineback to summary
pack-priv static synchronized String sourceLine(Location location, int lineNumber) throws IOException
sourceReaderback to summary
pack-priv static BufferedReader sourceReader(Location location)

Return a Reader corresponding to the source of this location. Return null if not available.

Note

returned reader must be closed.

vmback to summary
pack-priv static VirtualMachine vm()
com.sun.tools.example.debug.tty back to summary

pack-priv Class Env.SourceCode

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private String
private List<String>

Constructor Summary

AccessConstructor and Description
pack-priv
SourceCode(String fileName, BufferedReader reader)

Method Summary

Modifier and TypeMethod and Description
pack-priv String
pack-priv String
sourceLine(int number)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fileNameback to summary
private String fileName
sourceLinesback to summary
private List<String> sourceLines

Constructor Detail

SourceCodeback to summary
pack-priv SourceCode(String fileName, BufferedReader reader) throws IOException

Method Detail

fileNameback to summary
pack-priv String fileName()
sourceLineback to summary
pack-priv String sourceLine(int number)