Package io.micronaut.sourcegen.model
Class InterfaceDef
java.lang.Object
io.micronaut.sourcegen.model.ObjectDef
io.micronaut.sourcegen.model.InterfaceDef
The interface definition.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The interface definition builder. -
Field Summary
Fields inherited from class io.micronaut.sourcegen.model.ObjectDef
className, innerTypes, methods, properties, superinterfaces
-
Method Summary
Modifier and TypeMethodDescriptionGet the type definition for this type.final List<AnnotationDef>
final Modifier[]
final String
getName()
withClassName
(ClassTypeDef.ClassName className) Creates a copy of this definition with a new class name.Methods inherited from class io.micronaut.sourcegen.model.ObjectDef
getContextualType, getContextualType, getInnerTypes, getMethods, getPackageName, getProperties, getSimpleName, getSuperinterfaces
-
Field Details
-
name
-
modifiers
-
annotations
-
javadoc
-
-
Method Details
-
withClassName
Description copied from class:ObjectDef
Creates a copy of this definition with a new class name.- Specified by:
withClassName
in classObjectDef
- Parameters:
className
- The class name- Returns:
- the copy of this object definition with a new class name
-
asTypeDef
Description copied from class:ObjectDef
Get the type definition for this type. -
builder
-
getTypeVariables
-
getName
-
getModifiers
-
getModifiersArray
-
getAnnotations
-
getJavadoc
-