Class Resolver.CompoundAnnotationMapper
java.lang.Object
net.ssehub.easy.varModel.model.AnnotationVisitor
net.ssehub.easy.reasoning.sseReasoner.Resolver.CompoundAnnotationMapper
- Enclosing class:
Resolver
private class Resolver.CompoundAnnotationMapper
extends net.ssehub.easy.varModel.model.AnnotationVisitor
Implements a compound annotation mapper. Call
initialize(ConstraintSyntaxTree, Variable) first, then
AnnotationVisitor.visitAnnotations(net.ssehub.easy.varModel.model.IAttributeAccess) and finally clear().- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()Clears the mapper.protected voidinitialize(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cAcc, net.ssehub.easy.varModel.cst.Variable declVar) Initializes the mapper.protected voidprocessAttribute(net.ssehub.easy.varModel.model.Attribute attr) protected voidprocessAttributeAssignment(net.ssehub.easy.varModel.model.AttributeAssignment assng) Methods inherited from class net.ssehub.easy.varModel.model.AnnotationVisitor
addToScope, visitAnnotations
-
Field Details
-
cAcc
private net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cAcc -
declVar
private net.ssehub.easy.varModel.cst.Variable declVar
-
-
Constructor Details
-
CompoundAnnotationMapper
private CompoundAnnotationMapper()
-
-
Method Details
-
initialize
protected void initialize(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cAcc, net.ssehub.easy.varModel.cst.Variable declVar) Initializes the mapper.- Parameters:
cAcc- the accessor expression (may be null)declVar- the compound variable as expression
-
clear
protected void clear()Clears the mapper. -
processAttributeAssignment
protected void processAttributeAssignment(net.ssehub.easy.varModel.model.AttributeAssignment assng) throws net.ssehub.easy.varModel.model.IvmlException - Specified by:
processAttributeAssignmentin classnet.ssehub.easy.varModel.model.AnnotationVisitor- Throws:
net.ssehub.easy.varModel.model.IvmlException
-
processAttribute
protected void processAttribute(net.ssehub.easy.varModel.model.Attribute attr) throws net.ssehub.easy.varModel.model.IvmlException - Specified by:
processAttributein classnet.ssehub.easy.varModel.model.AnnotationVisitor- Throws:
net.ssehub.easy.varModel.model.IvmlException
-