io.sarl.lang.sarl.actionprototype
Class InferredStandardParameter
All Known Subclasses:
InferredValuedParameter
class InferredStandardParameter
extends java.lang.Object
This class permits to wrap the formal parameters.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Property Summary
Modifier and type Property and description
java.lang.String defaultValueAnnotationValue
Replies the value of the annotation that is marked this parameter with a default value.
java.lang.String defaultValueAnnotationValueBasename
Replies the basename of the value of the annotation that is marked this parameter with a default value.
DynamicArgumentName dynamicCallingArgument
Replies the value of the calling argument.
java.lang.String name
Replies the name.
org.eclipse.emf.ecore.EObject parameter
Replies the source parameter.
org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference type
Replies the type of the parameter.
Field Summary
Modifier and type Field and description
protected var java.lang.String defaultValueAnnotationValue
Default value annotation value.
protected var java.lang.String defaultValueAnnotationValueBasename
Basename of default value annotation value.
protected var DynamicArgumentName dynamicArgument
The value of the calling argument.
protected val java.lang.String name
Name.
protected val java.lang.ref.WeakReference<T> source
Original parameter.
protected val org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference type
Name.
Constructor Summary
Constructor and description
new(EObject,String,LightweightTypeReference,DynamicArgumentName)
Constructor.
Action Summary
Modifier and type Action and description
java.lang.String getDefaultValueAnnotationValue
Replies the value of the annotation that is marked this parameter with a default value.
java.lang.String getDefaultValueAnnotationValueBasename
Replies the basename of the value of the annotation that is marked this parameter with a default value.
DynamicArgumentName getDynamicCallingArgument
Replies the value of the calling argument.
java.lang.String getName
Replies the name.
org.eclipse.emf.ecore.EObject getParameter
Replies the source parameter.
org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference getType
Replies the type of the parameter.
java.lang.String toString
Property Details
defaultValueAnnotationValue
val defaultValueAnnotationValue : java.lang.String
Replies the value of the annotation that is marked this parameter with a default value.

This property is an alias for the action: getDefaultValueAnnotationValue

Returns:
the annotation's value.
defaultValueAnnotationValueBasename
val defaultValueAnnotationValueBasename : java.lang.String
Replies the basename of the value of the annotation that is marked this parameter with a default value.

This property is an alias for the action: getDefaultValueAnnotationValueBasename

Returns:
the basename of the annotation's value.
dynamicCallingArgument
val dynamicCallingArgument : DynamicArgumentName
Replies the value of the calling argument.

This property is an alias for the action: getDynamicCallingArgument

Returns:
the value of the calling argument.
Since:
0.12
name
val name : java.lang.String
Replies the name.

This property is an alias for the action: getName

Returns:
the name.
parameter
val parameter : org.eclipse.emf.ecore.EObject
Replies the source parameter.

This property is an alias for the action: getParameter

Returns:
the source parameter.
type
val type : org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference
Replies the type of the parameter.

This property is an alias for the action: getType

Returns:
the type.
Field Details
defaultValueAnnotationValue
protected var defaultValueAnnotationValue : java.lang.String
Default value annotation value.
defaultValueAnnotationValueBasename
protected var defaultValueAnnotationValueBasename : java.lang.String
Basename of default value annotation value.
dynamicArgument
protected var dynamicArgument : DynamicArgumentName
The value of the calling argument.
name
protected val name : java.lang.String
Name.
source
protected val source : java.lang.ref.WeakReference<T>
Original parameter.
type
protected val type : org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference
Name.
Constructor Details
new(EObject,String,LightweightTypeReference,DynamicArgumentName)
new(EObject,String,LightweightTypeReference,DynamicArgumentName)
Constructor.
Parameters:
source - the original parameter.
name - the name of the formal parameter.
type - the type of the formal parameter.
dynamicArgument - the argument name that could be changed dynamically.
Since:
0.12
Action Details
getDefaultValueAnnotationValue
def getDefaultValueAnnotationValue : java.lang.String
Replies the value of the annotation that is marked this parameter with a default value.
Returns:
the annotation's value.
getDefaultValueAnnotationValueBasename
def getDefaultValueAnnotationValueBasename : java.lang.String
Replies the basename of the value of the annotation that is marked this parameter with a default value.
Returns:
the basename of the annotation's value.
getDynamicCallingArgument
def getDynamicCallingArgument : DynamicArgumentName
Replies the value of the calling argument.
Returns:
the value of the calling argument.
Since:
0.12
getName
def getName : java.lang.String
Replies the name.
Returns:
the name.
getParameter
def getParameter : org.eclipse.emf.ecore.EObject
Replies the source parameter.
Returns:
the source parameter.
getType
def getType : org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference
Replies the type of the parameter.
Returns:
the type.
toString
def toString : java.lang.String