CreationShakeClass

Types

Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

All instance-fields of this class (including fields defined in superclasses and interfaces) Overridden fields are not included

Link copied to clipboard

All instance-methods of this class (including methods defined in superclasses and interfaces) Overridden methods are not included

Link copied to clipboard

The classes of this class

Link copied to clipboard
open override val clazz: ShakeClass?

The class this class is in. This is null if the class is not within a class

Link copied to clipboard
Link copied to clipboard

The constructors of this class

Link copied to clipboard

The fields of this class

Link copied to clipboard
open override val instanceClasses: List<ShakeClass>

The instance classes of this class

Link copied to clipboard

The instance fields of this class

Link copied to clipboard

The instance methods of this class

Link copied to clipboard

The project this class is in. This also keeps the project if this class is inside of a package or class

Link copied to clipboard
open override val interfaces: List<CreationShakeClass>

The interfaces of this class

Link copied to clipboard
open override val isAbstract: Boolean

Is this class abstract?

Link copied to clipboard
open override val isAnnotation: Boolean

Is this class an annotation?

Link copied to clipboard
open override val isEnum: Boolean

Is this class an enum?

Link copied to clipboard
open override val isFinal: Boolean

Is this class final?

Link copied to clipboard
open override val isInterface: Boolean

Is this class an interface?

Link copied to clipboard
open override val isNative: Boolean

Is this class native?

Link copied to clipboard
open override val isObject: Boolean

Is this class an object?

Link copied to clipboard
open override val isPrivate: Boolean

Is this class private?

Link copied to clipboard
open override val isProtected: Boolean

Is this class protected?

Link copied to clipboard
open override val isPublic: Boolean

Is this class public?

Link copied to clipboard
open override val isStatic: Boolean

Is this class static?

Link copied to clipboard

The methods of this class

Link copied to clipboard
open override val name: String

The (simple) name of this class

Link copied to clipboard
open override val parentScope: CreationShakeScope

The parent scope of this class. The class's scope will extend this scope.

Link copied to clipboard
open override val pkg: CreationShakePackage

The package this class is in. Also holds the package if this class is in a class

Link copied to clipboard
open override val prj: CreationShakeProject

The project this class is in. This also keeps the project if this class is inside of a package or class

Link copied to clipboard

The qualified name of this class (including the package and parent classes)

Link copied to clipboard

The prefix for child entities (classes, fields, methods, ...) of this class

Link copied to clipboard
open val signature: String

The signature of this class (including the package and parent classes)

Link copied to clipboard

The static classes of this class

Link copied to clipboard

The static fields of this class

Link copied to clipboard

The static methods of this class

Link copied to clipboard

The project this class is in. This also keeps the project if this class is inside of a package or class

Link copied to clipboard
open lateinit override var superClass: CreationShakeClass

The superclass of this class

Functions

Link copied to clipboard
Link copied to clipboard

The compatibility distance between this class and the other class

Link copied to clipboard
open fun compatibleTo(other: ShakeClass): Boolean

Is this class compatible to the other class?

Link copied to clipboard
open fun getClass(descriptor: Array<String>): ShakeClass?
open fun getClass(descriptor: String): ShakeClass?
open fun getClass(descriptor: List<String>): ShakeClass?

Get a child class

Link copied to clipboard
open fun getField(descriptor: Array<String>): ShakeField?
open fun getField(descriptor: String): ShakeField?
open fun getField(descriptor: List<String>): ShakeField?

Get a child field

Link copied to clipboard
open fun getMethods(descriptor: Array<String>): List<ShakeMethod>
open fun getMethods(descriptor: String): List<ShakeMethod>
open fun getMethods(descriptor: List<String>): List<ShakeMethod>

Get a child method

Link copied to clipboard
open override fun phase1()

Phase 1: Register all classes See in the Specification

Link copied to clipboard
open override fun phase2()

Phase 2: Link Superclasses and Interfaces See in the Specification

Link copied to clipboard
open override fun phase3()

Phase 3: Process all methods and fields (without code) See in the Specification

Link copied to clipboard
open override fun phase4()

Phase 4: Process all code See in the Specification

Link copied to clipboard
open fun toJson(): Map<String, Any?>

Get the json representation of this class