public class AdderWrapper extends AssignmentWrapper
Assignment.AssignmentTypeWritable.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
Types 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, nested method call, etc.
|
Type |
getSourceType()
the source type.
|
List<Type> |
getThrownTypes()
returns all types exception types thrown by this assignment.
|
getAssignment, getSourceLocalVarName, getType, isUpdateMethod, setAssignment, setSourceLocalVarNamewritegetTemplateName, getTemplateNameForClasspublic AdderWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, String sourceReference, Type sourceType)
public List<Type> getThrownTypes()
AssignmentgetThrownTypes in interface AssignmentgetThrownTypes in class AssignmentWrapperpublic Type getSourceType()
AssignmentgetSourceType in interface AssignmentgetSourceType in class AssignmentWrapperpublic String getSourceReference()
AssignmentgetSourceReference in interface AssignmentgetSourceReference in class AssignmentWrapperpublic Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in interface AssignmentgetImportTypes in class AssignmentWrappernull.public String getIteratorReference()
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.