Skip to content

Class Entity

Class Declaration Entity Entity

Class declaration entity represents a class declaration in the source code. It contains information about the class name, visibility, and other attributes.

@annotation
<visibility> <modifier> class <name> extends <parent> implements <interface> {
...
}

Attributes

EntityDescription
getName()Class’s name
getVisibility()Class’s visibility (public, private, protected)
getAnnotation()Class’s Annotation
getSuperClass()Class’s parent class
getInterface()Class’s implemented interfaces