Class ClassBase
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 classClassBase.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.Generic type parameters declared by this type, including their bounds.All declared inner classes.Implemented interfaces.booleanIs this an abstract class.booleanisFinal()Is this a final class.booleanisStatic()Is this a static class.kind()Kind of this type.methods()All declared methods.name()Name of this component.Permitted direct subclasses of this sealed class or interface.booleansealed()Is this a sealed class or interface.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
-
methods
-
innerClasses
-
constructors
-
genericArguments
Generic type parameters declared by this type, including their bounds.- Returns:
- declared generic type parameters
-
kind
-
superTypeName
-
interfaceTypeNames
-
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
-
sealed
public boolean sealed()Is this a sealed class or interface.- Returns:
- whether this class or interface is sealed
-
permittedSubclassTypeNames
-
isStatic
public boolean isStatic()Is this a static class.- Returns:
- whether this class is static
-
annotations
-
name
-
accessModifier
-
description
-
typeName
-