java.lang.Object
io.helidon.codegen.classmodel.ClassBase
- Direct Known Subclasses:
ClassModel
,InnerClass
Abstract class type model. Contains common logic for all class related models.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ClassBase.Builder<B extends ClassBase.Builder<B,
T>, T extends ClassBase> Fluent API builder forClassBase
. -
Method Summary
Modifier and TypeMethodDescriptionAccess modifier of this component.List of annotations on this component.All declared constructors.Description (javadoc) of this component.fields()
All declared fields.All declared inner classes.Implemented interfaces.boolean
Is this an abstract class.boolean
isFinal()
Is this a final class.boolean
isStatic()
Is this a static class.kind()
Kind of this type.methods()
All declared methods.name()
Name of this component.Type name of the super class (if this is a class and it extends another class).typeName()
Type name of this component.
-
Method Details
-
fields
All declared fields.- Returns:
- fields
-
methods
All declared methods.- Returns:
- methods
-
innerClasses
All declared inner classes.- Returns:
- inner classes
-
constructors
All declared constructors.- Returns:
- constructors
-
kind
Kind of this type.- Returns:
- kind
-
superTypeName
Type name of the super class (if this is a class and it extends another class).- Returns:
- super type
-
interfaceTypeNames
Implemented interfaces.- Returns:
- interfaces this type implements (or extends, if this is an interface)
-
isFinal
public boolean isFinal()Is this a final class.- Returns:
- whether this class is final
-
isAbstract
public boolean isAbstract()Is this an abstract class.- Returns:
- whether this class is abstract
-
isStatic
public boolean isStatic()Is this a static class.- Returns:
- whether this class is static
-
annotations
List of annotations on this component.- Returns:
- annotations
-
name
Name of this component.- Returns:
- component name
-
accessModifier
Access modifier of this component.- Returns:
- access modifier
-
description
Description (javadoc) of this component.- Returns:
- description lines
-
typeName
Type name of this component.- Returns:
- type name
-