- All Implemented Interfaces:
io.micronaut.core.naming.Named
@Internal
public class GeneratedFile
extends Object
implements io.micronaut.core.naming.Named
A generated file.
- Since:
- 3.9.0
- Author:
- Sergio del Amo
-
Constructor Summary
Constructors
-
Method Summary
@NonNull com.squareup.javapoet.JavaFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GeneratedFile
public GeneratedFile(@NonNull
@NonNull String name,
@NonNull
@NonNull String simpleName,
@NonNull
@NonNull com.squareup.javapoet.JavaFile javaFile)
- Parameters:
name
- The name qualifier
simpleName
- The simple filename
javaFile
- The java file
-
Method Details
-
getName
@NonNull
public @NonNull String getName()
- Specified by:
getName
in interface io.micronaut.core.naming.Named
- Returns:
- The name qualifier
-
getSimpleName
@NonNull
public @NonNull String getSimpleName()
- Returns:
- The simple filename
-
getJavaFile
@NonNull
public @NonNull com.squareup.javapoet.JavaFile getJavaFile()
- Returns:
- The java file