public class Parameter extends DefinitionBase implements TypedModel
Modifier and Type | Field and Description |
---|---|
protected Type |
erasedParamType |
protected Type |
type |
annotations, clazz, declaredModifiers, name
MAX_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, getDeclaredModifiers
printExtraBottom, printExtraTop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClazz, getConfiguration, getGeneratedClazz, getVariablesPrefix, isInDefaultPackage
isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransient
public 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()
Model
getPackageName
in interface Model
public String getName()
Definition
getName
in interface Definition
getName
in class DefinitionBase
public EnumSet<Modifier> getModifiers()
Definition
getModifiers
in interface Definition
public Type getType()
getType
in interface TypedModel
public 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.