io.sarl.lang.macro
Class SarlProcessorInstanceForJvmTypeProvider
class SarlProcessorInstanceForJvmTypeProvider
extends java.lang.Object
Processor for the @Accessors active annotations.

This processor ensures that the visibility of the generated functions is not higher than the visility allowed into the containing type.

TODO: The macro API should use the injection mechanism into the Xtend library.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.9
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
static org.eclipse.xtext.common.types.JvmType filterActiveProcessorType(JvmType,CommonTypeComputationServices)
Filter the type in order to create the correct processor.
java.lang.Object getProcessorInstance(JvmType)
Constructor Details
new
new
Action Details
filterActiveProcessorType(JvmType,CommonTypeComputationServices)
def filterActiveProcessorType(JvmType,CommonTypeComputationServices) : org.eclipse.xtext.common.types.JvmType
Filter the type in order to create the correct processor.
Parameters:
type - the type of the processor specified into the @Active annotation.
services - the type services of the framework.
Returns:
the real type of the processor to instance.
getProcessorInstance(JvmType)
def getProcessorInstance(JvmType) : java.lang.Object