[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[jx8,java.lang] implementation

JavaObject
	subclass: #JavaLangObject
	category: 'java.lang' !

! JavaLangObject class methodsFor: #java !
packagePrefix
	" Private - Return the package prefix of the receiver (or nil, if it do not bind to java class). "

	^'java.lang.'! !

JavaLangObject subclass: #JavaPakage!
JavaPakage buildFunctions: #(
	#getName
	#getSpecificationTitle
	#getSpecificationVersion
	#getSpecificationVendor
	#getImplementationTitle
	#getImplementationVersion
	#getImplementationVendor
)!

JavaLangObject subclass: #JavaSystem!
JavaSystem buildStaticGetters: #(
	err in out
)!
JavaSystem buildStaticFunctions: #(
	#(arraycopy:srcPos:dest:destPos:length: #(src srcPos dest destPos length))
	#(clearProperty: #(key))
	console currentTimeMillis
	#(exit: #(status))
	gc getenv
	#(getenv: #(name))
	getProperties
	#(getProperty: #(key)) #(getProperty:def: #(key def))
	getSecurityManager
	#(identityHashCode: #(object))
	inheritedChannel lineSeparator
	#(load: #(filename))
	#(loadLibrary: #(libname))
	#(mapLibraryName: #(libname))
	nanoTime runFinalization
	#(setErr: #(#(stream json)))
	#(setIn: #(#(stream json)))
	#(setOut: #(#(stream json)))
	#(setProperties: #(#(props json)))
	#(setProperty:value: #(key value))
	#(setSecurityManager: #(#(s json)))
)!

JavaLangObject subclass: #JavaThread!
JavaThread buildFunctions: #(
	activeCount checkAccess
	#(#currentThread #() #JavaThread)
	dumpStack
	getId getName getPriority
	interrupt interrupted
	join #(#join: #(millis)) #(#join:nanos: #(millis nanos))
	run
	#(#setName: #(aName))
	#(#setPriority: #(priority))
	#(#sleep: #(millis)) #(#sleep:nanos: #(millis nanos))
	start yield
)!