|
Class: ClassChecker (in Tools)
Object
|
+--Tools::ClassChecker
- Package:
- stx:libtool
- Category:
- Interface-Browsers-New
- Version:
- rev:
1.26
date: 2018/04/23 07:48:44
- user: cg
- file: Tools__ClassChecker.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Claus Gittinger (cg@exept.de)
embeddable application displaying the class-categories.
Provides an outputGenerator, which enumerates the classes in
the selected categories.
Attention: do not change the method categories 'checks-' into something else.
The 'checks-' prefix is used to detect checks and these are listed in the browsers
lint dialog.
queries
-
individualChecks
-
return a list of supported checks
usage example(s):
accessing
-
badClassInfo
-
-
badMethodInfo
-
-
checkedClass
-
return the value of the instance variable 'checkedClass' (automatically generated)
-
checkedClass: something
-
set the value of the instance variable 'checkedClass' (automatically generated)
checking
-
allChecks
-
-
doCheck: whichCheck
-
-
errorChecks
-
-
styleChecks
-
self doCheck:#guardingClause.
-
warningChecks
-
checks-individual
-
checkProtocols
-
-
checkVariableNameConventions
-
-
classInstanceVariablesNeverUsed
-
-
classInstanceVariablesNeverWritten
-
-
classVariablesNeverUsed
-
-
classVariablesNeverWritten
-
-
definesEqualButNotHash
-
-
guardingClause
-
-
instanceVariablesNeverUsed
-
-
instanceVariablesNeverWritten
-
-
invalidKeyInImageResourceMethod
-
-
messageNeverSent
-
old code: (slow)
-
messageNeverSentAndNotUsedAsSymbol
-
-
parseMethod: method in: aClass withParserDo: aBlock onErrorDo: errorBlock
-
-
sendsObsoleteMessages
-
manually patchup; there are some which should not be considered as bad ...
-
sendsObsoleteMethodWarningButNotTaggedAsObsoleteOrViceVersa
-
-
sentNotImplemented
-
-
subclassResponsibilityNotDefined
-
ok, got one;
-
unusedClassVariables
-
-
unusedInstanceVariables
-
helpers
-
anyImplementationOf: aSelector
-
-
anyImplementationOf: aSelector in: aCollectionOfClasses
-
-
anyImplementationOf: aSelector inOrAbove: aClass
-
-
anySendsOf: aSelector
-
-
checkProtocolOf: aMethod
-
-
checkUnusedVariables: aMethod rememberReadInstVarsIn: readInstVars writtenInstVarsIn: writtenInstVars readClassVarsIn: readClassVars writtenClassVarsIn: writtenClassVars
-
-
instanceVariablesNeverUsedIn: aClass
-
-
instanceVariablesNeverWrittenIn: aClass
-
-
messagesNeverSentAndNotUsedAsSymbolIn: selectorsOfInterest
-
start searching in the checkedClass - chances are high, we find some here
-
messagesNeverSentIn: selectorsOfInterest
-
-
methodShouldBeIgnoredInSubclassResponsibilityNotDefined: aMethod
-
a kludge for now - would like to have a pragma, resource or other
way to mark such a method
-
rememberBadClass: class info: whatIsWrong
-
-
rememberBadMethod: method key: key info: whatIsWrong
-
-
rememberBadMethods: methods key: key info: whatIsWrong
-
-
removeUsedClassVariablesIn: aClass from: aCollectionOfVariablenames
-
-
removeUsedInstanceVariablesIn: aClass from: aCollectionOfVariablenames
-
-
removeWrittenClassVariablesIn: aClass from: aCollectionOfVariablenames
-
-
removeWrittenInstanceVariablesIn: aClass from: aCollectionOfVariablenames
-
|