Modifier | Constructor and Description |
---|---|
protected |
VariableOperations() |
Modifier and Type | Method and Description |
---|---|
static <C,PM,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(Variable<C,PM> variable,
U v) |
static <C,PM> boolean |
checkInitType(Variable<C,PM> variable,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
initExpression->notEmpty() implies initExpression.type.conformsTo (type)
|
static <C,PM> java.lang.String |
getName(Variable<C,PM> variable) |
static <C,PM> C |
getType(Variable<C,PM> variable) |
static <C,PM> void |
setName(Variable<C,PM> variable,
java.lang.String name) |
static <C,PM> void |
setType(Variable<C,PM> variable,
C type) |
public static <C,PM> java.lang.String getName(Variable<C,PM> variable)
public static <C,PM> C getType(Variable<C,PM> variable)
public static <C,PM> void setName(Variable<C,PM> variable, java.lang.String name)
public static <C,PM> void setType(Variable<C,PM> variable, C type)
public static <C,PM,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(Variable<C,PM> variable, U v)
public static <C,PM> boolean checkInitType(Variable<C,PM> variable, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
variable
- The receiving 'Variable' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.