public class Parameter extends DefinitionBase implements TypedModel
| Modifier and Type | Field and Description |
|---|---|
protected Type |
erasedParamType |
protected Type |
type |
annotations, clazz, declaredModifiers, nameMAX_RECURSIVE_LEVEL, NO_DETAILS_LEVEL| Constructor and Description |
|---|
Parameter(BasicClazz clazz,
Type paramType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
Parameter(BasicClazz clazz,
Type paramType,
Type erasedParamType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getErasedType() |
EnumSet<Modifier> |
getModifiers()
Get modifiers as they should be used generated code when defining something.
|
String |
getName()
The name of the element being defined.
|
String |
getPackageName()
The package that the output belongs to.
|
Type |
getType() |
boolean |
isDelegating() |
boolean |
isMemberAssociated() |
void |
print(IndentedPrintWriter writer,
int detailLevel)
Helper method for printing out the model nicely without getting into problems with its circular references.
|
Parameter |
setName(String newParamName) |
getAnnotations, getClazz, getConfiguration, getDeclaredModifiersprintExtraBottom, printExtraTop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClazz, getConfiguration, getGeneratedClazz, getVariablesPrefix, isInDefaultPackageisAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransientpublic Parameter(BasicClazz clazz, Type paramType, Type erasedParamType, String paramName, EnumSet<Modifier> declaredModifiers, List<Annotation> annotations)
public Parameter(BasicClazz clazz, Type paramType, String paramName, EnumSet<Modifier> declaredModifiers, List<Annotation> annotations)
public boolean isDelegating()
public boolean isMemberAssociated()
public String getPackageName()
ModelgetPackageName in interface Modelpublic String getName()
DefinitiongetName in interface DefinitiongetName in class DefinitionBasepublic EnumSet<Modifier> getModifiers()
DefinitiongetModifiers in interface Definitionpublic Type getType()
getType in interface TypedModelpublic Type getErasedType()
public void print(IndentedPrintWriter writer, int detailLevel)
Model
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.