public class AdderWrapper extends AssignmentWrapper
Assignment.AssignmentType
Writable.Context
Constructor and Description |
---|
AdderWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourceReference,
Type sourceType) |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
String |
getIteratorReference() |
String |
getSourceReference()
the source reference being a source-getter, a constant, etc.
|
Type |
getSourceType() |
List<Type> |
getThrownTypes()
returns all types exception types thrown by this assignment.
|
getAssignment, getType, isUpdateMethod, setAssignment
write
getTemplateName, getTemplateNameForClass
public AdderWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, String sourceReference, Type sourceType)
public List<Type> getThrownTypes()
Assignment
getThrownTypes
in interface Assignment
getThrownTypes
in class AssignmentWrapper
public Type getSourceType()
public String getSourceReference()
Assignment
getSourceReference
in interface Assignment
getSourceReference
in class AssignmentWrapper
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in interface Assignment
getImportTypes
in class AssignmentWrapper
null
.public String getIteratorReference()
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.