File Exchange

image thumbnail

checkClass - inspect a Java/Matlab/COM class object/name

version (68.8 KB) by Yair Altman
inspect a Java/MCOS/COM/.NET object or classname and display its methods, properties, events, interfaces, etc.


Updated 10 Jun 2019

View License

checkClass inspects the specified Java, Matlab (MCOS), .NET or COM (ActiveX) object reference or class-name, and reports its superclass(es), interfaces, new/modified methods, sub-classes, properties, events, enumerations and annotations.

This utility complements the more detailed UIINSPECT utility (see link below) by being Command-Prompt based and also by highlighting the object components that were modified in the inspected class compared to its parent superclass.

checkClass(..., level) % default level=inf

% Java objects/classes

jButton = javax.swing.JButton('Click me!');
jButton.checkClass; % or: checkClass(jButton)


% Matlab (MCOS)

% .NET

Technical description:

Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

Cite As

Yair Altman (2019). checkClass - inspect a Java/Matlab/COM class object/name (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Thanks now the new version is available. This tool is very useful and much better than the methodsview function provided by Matlab. Very useful for analyzing Matlab classes especially if you have a class hierarchy.

Yair Altman

@Martin - I just updated the download file

The download able version is only 1.19 and identical to that version. Please check the actual version.


Fun tool for investigating MATLAB internals.


improved display of class hierarchies; fixes for MCOS classes

fixed some edge cases; improved the display of multiple super-classes

attribution of whereisjavaclassloadingfrom created by Andrew Janke

fixed the downloadable file

added display of class origin information; fixed report for some .Net classes that are reported as A*B*C; fixed some edge cases

fixed java annotations

handle missing/string input; handle MCOS objects

fixed edge case

enabled checking Matlab-wrapped (javahandle_withcallbacks) handles; displayed function return values & qualifiers; fixed dot-notation internal classes; fixed a few edge-case bugs; added hyperlinks to user-generated subclasses (myclass$subclass)

fixed problem when directly specifying requested superclass level; fixed static fields value display; fixed minor bug with non-derived class

linked to checkClass (not uiinspect); fixed some edge cases; displayed superclass for non-Matlab classes; displayed class modifiers

displayed static field values; fixed minor bug; displayed missing/extra constructors

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags