getMethods.Class.Rd
Returns the method names of class and its super classes as a list.
# S3 method for class 'Class'
getMethods(this, private=FALSE, deprecated=TRUE, unique=TRUE, ...)
For more information see Class
.
names <- getMethods(Exception)
print(names)
#> $Exception
#> as.character getCall
#> "as.character.Exception" "getCall.Exception"
#> getCalls getLastException
#> "getCalls.Exception" "getLastException.Exception"
#> getMessage getStackTrace
#> "getMessage.Exception" "getStackTrace.Exception"
#> getWhen print
#> "getWhen.Exception" "print.Exception"
#> printStackTrace throw
#> "printStackTrace.Exception" "throw.Exception"
#>
#> $condition
#> abort conditionCall
#> "abort.condition" "conditionCall.condition"
#> conditionMessage
#> "conditionMessage.condition"
#>
#> $Object
#> $ $<-
#> "$.Object" "$<-.Object"
#> [[ [[<-
#> "[[.Object" "[[<-.Object"
#> attach attachLocally
#> "attach.Object" "attachLocally.Object"
#> clearCache clearLookupCache
#> "clearCache.Object" "clearLookupCache.Object"
#> clone detach
#> "clone.Object" "detach.Object"
#> equals extend
#> "equals.Object" "extend.Object"
#> finalize getEnvironment
#> "finalize.Object" "getEnvironment.Object"
#> getFieldModifier getFieldModifiers
#> "getFieldModifier.Object" "getFieldModifiers.Object"
#> getFields getInstantiationTime
#> "getFields.Object" "getInstantiationTime.Object"
#> getStaticInstance hasField
#> "getStaticInstance.Object" "hasField.Object"
#> hashCode ll
#> "hashCode.Object" "ll.Object"
#> load names
#> "load.Object" "names.Object"
#> objectSize save
#> "objectSize.Object" "save.Object"
#>