For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetClassMetadata

Get metadata about a instance or class given an instantiation path, an absolute OS filesystem path, or an instance of the object.

Method Signature

GetClassMetadata(path=[any])

Arguments

Argument
Type
Required
Description
Default

path

any

true

The path to the class or interface.,or an instance of the object to get the metadata for.

Examples

Get metadata for a class by name

class Person {
    property name="firstName";
    function init() { return this; }
}
meta = getClassMetadata( "Person" );
writeOutput( meta.name );

Result: Person

Get metadata for a Java class

Result: Class

Last updated

Was this helpful?