Class Supplier

Overview

Provides information about object classes.

See the Object Supplier 'class' field to access class instances for use with this supplier.

This supplier is disabled by default, and should generally not be turned on in a production environment. To control access, enable or disable the Class Supplier by going to

  • Confluence global administration

  • Manage apps > Expand Utility Library plugin > Expand "x of x modules enabled"

This displays the list of suppliers that are not enabled by default.

Details

Name:

Class Supplier

Prefix:

class(required)

Supported Content:

Class objects

Provided By:

Reporting for Confluence

Supported Keys

List of keys that this supplier returns a value for.

Key

Content Types

Return Type

Description

Key

Content Types

Return Type

Description

name

Class

Text

The class name.

is primative

Class

Boolean

Is true if the class is a 'primative', such as int, boolean or float.

is interface

Class

Boolean

Is true if the class is an interface.

is enum

Class

Boolean

Is true if the class is an enum.

is array

Class

Boolean

Is true if the class represents an array of objects.

Does not recognize 'Collection' objects.

component type

Class

Class

If this is an array, this is the class that makes up the contents of the array.

For example

  • a "int[]" would return the "int.class" type

is anonymous class

Class

Boolean

Is true if the class is 'anonymous'

  • it is an unnamed class assigned or returned from within a method

is local class

Class

Boolean

Is true if the class is 'local'

  • it is a named class defined within a method

is member class

Class

Boolean

Is true if the class is defined inside another class.

superclass

Class

Class

The parent class of this one.

interfaces

Class

List of Classes

The list of interface classes directly implemented by this class.

package

Class

Text

The package name for this class.