R Under development (unstable) (2024-10-31 r87283 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > message("TESTING: Static methods and classes...") TESTING: Static methods and classes... > > clazz <- R.oo::Class > print(clazz) Class extends Object { public $(name) public $<-(name, value) public [[(name, exact=TRUE) public [[<-(name, value) public as.character(...) public static forName(name, ...) public getFields(private=FALSE, ...) public getKnownSubclasses(sort=TRUE, ...) public getName(...) public getPackage(...) public getStaticInstance(...) public getSuperclasses(...) public isAbstract(...) public isBeingCreated(...) public isDeprecated(...) public isPrivate(...) public isProtected(...) public isPublic(...) public isStatic(...) public newInstance(...) public print(...) public attach(private=FALSE, pos=2, ...) public attachLocally(private=FALSE, fields=NULL, excludeFields=NULL, overwrite=TRUE, envir=parent.frame(), ...) public clearCache(recursive=TRUE, gc=FALSE, ...) public detach(...) public equals(other, ...) public finalize(...) public getInstantiationTime(...) public hasField(field, ...) public hashCode(...) public static load(file, path=NULL, ...) public save(file=NULL, path=NULL, compress=TRUE, ..., safe=TRUE) } > > clazz <- R.oo::Class$forName("Object") > print(clazz) Object public attach(private=FALSE, pos=2, ...) public attachLocally(private=FALSE, fields=NULL, excludeFields=NULL, overwrite=TRUE, envir=parent.frame(), ...) public clearCache(recursive=TRUE, gc=FALSE, ...) public detach(...) public equals(other, ...) public finalize(...) public getFields(private=FALSE, ...) public getInstantiationTime(...) public hasField(field, ...) public hashCode(...) public static load(file, path=NULL, ...) public save(file=NULL, path=NULL, compress=TRUE, ..., safe=TRUE) } > > message("TESTING: Static methods and classes...DONE") TESTING: Static methods and classes...DONE > > proc.time() user system elapsed 0.25 0.12 0.32