Class TemplateOptions

java.lang.Object
com.carrotsearch.hppc.generator.TemplateOptions

public class TemplateOptions extends Object
Template options for velocity directives in templates.
  • Field Details

    • TEMPLATE_FILE_TOKEN

      public static final String TEMPLATE_FILE_TOKEN
      See Also:
    • ignore

      private boolean ignore
    • ktype

      public Type ktype
    • vtype

      public Type vtype
    • templateFile

      public Path templateFile
  • Constructor Details

    • TemplateOptions

      public TemplateOptions(Type ktype)
    • TemplateOptions

      public TemplateOptions(Type ktype, Type vtype)
  • Method Details

    • setIgnored

      public void setIgnored(boolean ignore)
    • isIgnored

      public boolean isIgnored()
    • isKTypePrimitive

      public boolean isKTypePrimitive()
    • isVTypePrimitive

      public boolean isVTypePrimitive()
    • isKTypeGeneric

      public boolean isKTypeGeneric()
    • isVTypeGeneric

      public boolean isVTypeGeneric()
    • isAllGeneric

      public boolean isAllGeneric()
    • isAnyPrimitive

      public boolean isAnyPrimitive()
    • isAnyGeneric

      public boolean isAnyGeneric()
    • hasVType

      public boolean hasVType()
    • hasKType

      public boolean hasKType()
    • getKType

      public Type getKType()
    • getVType

      public Type getVType()
    • getTimeNow

      public String getTimeNow()
    • getTemplateFile

      public String getTemplateFile()
    • getGeneratedAnnotation

      public String getGeneratedAnnotation()