| java.lang.Object spoon.support.template.Parameters
Parameters | abstract public class Parameters (Code) | | This class defines an API to manipulate template parameters.
|
fieldPrefix | final protected static String fieldPrefix(Code) | | The prefix "_FIELD_" for a parameter that represents a fields in order to
avoid name clashes.
|
NIL | public static TemplateParameter<T> NIL(Class<? extends T> type)(Code) | | Creates an empty template parameter of the T type where
TemplateParameter.S does not return null in case
the template code needs to be executed such as in static initializers.
|
getNames | public static Collection<String> getNames(CtClass<? extends Template> templateType)(Code) | | Gets the names of all the template parameters of a given template type
(including the ones defined by the super types).
|
isParameterSource | public static boolean isParameterSource(CtFieldReference> ref)(Code) | | Tells if a given field is a template parameter.
|
isParameterSource | public static boolean isParameterSource(Field field)(Code) | | Tells if a given field is a template parameter.
|
|
|