Class GeneratedFile

java.lang.Object
io.micronaut.security.aot.GeneratedFile
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 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