1.113 MethodInfo
Defined in namespace Smalltalk
Superclass: Object
Category: Language-Implementation
I provide information about particular methods. I can produce the category that a method was filed under, and can be used to access the source code of the method.
1.113.1 MethodInfo: accessing
(instance)
1.113.2 MethodInfo: equality
(instance)
1.113.1 MethodInfo: accessing
category
Answer the method category
category: aCategory
Set the method category
methodClass
Answer the class in which the method is defined
methodClass: aClass
Set the class in which the method is defined
selector
Answer the selector through which the method is called
selector: aSymbol
Set the selector through which the method is called
sourceCode
Answer a FileSegment or String or nil containing the method source code
sourceFile
Answer the name of the file where the method source code is
sourcePos
Answer the starting position of the method source code in the sourceFile
sourceString
Answer a String containing the method source code
stripSourceCode
Remove the reference to the source code for the method
1.113.2 MethodInfo: equality
= aMethodInfo
Compare the receiver and aMethodInfo, answer whether they're equal
hash
Answer an hash value for the receiver
This document was generated on
August, 19 2010
using
texi2html