public class ImportsContext extends Object
ImportsHolder
and the isExtendedByUser
boolean that are used
during a Java template evaluation.Constructor and Description |
---|
ImportsContext() |
Modifier and Type | Method and Description |
---|---|
static void |
addImport(String fullType) |
static ImportsHolder |
getCurrentImportsHolder()
Returns the
ImportsHolder that is bound to the current template evaluation. |
static boolean |
isExtendedByUser()
Whether the current generated java class is taken over by the end developer.
|
static void |
setCurrentImportsHolder(ImportsHolder importsHolder)
Bind the passed
ImportsHolder to the current template evaluation. |
static void |
setIsExtendedByUser(boolean value) |
public static ImportsHolder getCurrentImportsHolder()
ImportsHolder
that is bound to the current template evaluation.public static void setCurrentImportsHolder(ImportsHolder importsHolder)
ImportsHolder
to the current template evaluation.public static void setIsExtendedByUser(boolean value)
public static void addImport(String fullType)
ImportsHolder.add(String)
public static boolean isExtendedByUser()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.