Next: , Up: MethodInfo


1.112.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