public class LocalVariable extends ModelElement
Writable.Context
Constructor and Description |
---|
LocalVariable(String name,
Type type,
Assignment factoryMethod) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Assignment |
getFactoryMethod() |
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 |
getName() |
Type |
getType() |
int |
hashCode() |
String |
toString() |
write
getTemplateName, getTemplateNameForClass
public LocalVariable(String name, Type type, Assignment factoryMethod)
public String getName()
public Type getType()
public Assignment getFactoryMethod()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class ModelElement
null
.Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.