1group deltas; 2 3 4ADDED(delta) ::= "Added $ElementType(element=delta.to)$" 5 6 7REMOVED(delta) ::= "Removed $ElementType(element=delta.from)$" 8 9 10CHANGED(delta) ::= "$DeltaType(delta)$" 11 12 13DeltaType(delta) ::= "$({$delta.class.simpleName$})(delta)$" 14 15 16DeltaTypeSwitch(delta) ::= "$delta:({$delta.type$})(delta)$" 17 18 19MultiSubDelta(desc, deltas) ::= << 20$if(deltas)$ 21$if(!deltas.empty)$ 22$desc$ 23<ul> 24$deltas:{<li>$DeltaTypeSwitch(delta=it)$</li>}$ 25</ul> 26$endif$ 27$endif$ 28>> 29 30 31SigAnnotationDelta(delta) ::= << 32$MultiSubDelta(desc="Annotation Elements changed:", deltas=delta.annotationElementDeltas)$ 33>> 34 35 36 37SigAnnotationElementDelta(delta) ::= << 38$SingleSubDelta(desc="Value changed:", delta=delta.valueDelta)$ 39>> 40 41 42SigArrayTypeDelta(delta) ::= << 43$SingleSubDelta(desc="Component Type of array changed:", delta=delta.componentTypeDelta)$ 44>> 45 46 47SigClassReferenceDelta(delta) ::= "from $SigClass(element=delta.from)$ to $SigClass(element=delta.to)$" 48 49 50SigConstructorDelta(delta) ::= "$SigExecutableMemberDelta(delta=delta)$" 51 52SigMethodDelta(delta) ::= << 53$SigExecutableMemberDelta(delta=delta)$ 54$if(delta.returnTypeDelta)$ 55$SingleSubDelta(desc="Return Type changed:", delta=delta.returnTypeDelta)$ 56$endif$ 57>> 58 59 60SigExecutableMemberDelta(delta) ::= << 61$if(delta.annotationDeltas)$ 62$MultiSubDelta(desc="Annotations changed:", deltas=delta.annotationDeltas)$ 63$endif$ 64 65$if(delta.modifierDeltas)$ 66$MultiSubDelta(desc="Modifiers changed:", deltas=delta.modifierDeltas)$ 67$endif$ 68 69$if(delta.typeVariableDeltas)$ 70$MultiSubDelta(desc="Type Variables changed:", deltas=delta.typeVariableDeltas)$ 71$endif$ 72 73$if(delta.exceptionDeltas)$ 74$MultiSubDelta(desc="Exceptions changed:", deltas=delta.exceptionDeltas)$ 75$endif$ 76 77$if(delta.parameterDeltas)$ 78$MultiSubDelta(desc="Parameters changed:", deltas=delta.parameterDeltas)$ 79$endif$ 80>> 81 82SigFieldDelta(delta) ::= << 83$SingleSubDelta(desc="Type changed:", delta=delta.typeDelta)$ 84$MultiSubDelta(desc="Modifiers changed:", deltas=delta.modifierDeltas)$ 85$MultiSubDelta(desc="Annotations changed:", deltas=delta.annotationDeltas)$ 86>> 87 88SigGenericDelclarationDelta(delta) ::= "GenericDelclarationDelta $delta$" 89 90SigModifierDelta(delta) ::= "SigModifierDelta.st: Please file a bug if you see this message" 91 92 93SigParameterDelta(delta) ::= << 94$if(delta.annotationDeltas)$ 95$MultiSubDelta(desc="Annotations changed:", deltas=delta.annotationDeltas)$ 96$endif$ 97 98$if(delta.typeDelta)$ 99$SingleSubDelta(desc="Type changed:", delta=delta.typeDelta)$ 100$endif$ 101>> 102 103 104SigParameterizedTypeDelta(delta) ::= << 105$SingleSubDelta(desc="Owner Type changed:", delta=delta.ownerTypeDelta)$ 106$SingleSubDelta(desc="Raw Type changed:", delta=delta.rawTypeDelta)$ 107$MultiSubDelta(desc="Type Arguments changed:", deltas=delta.argumentTypeDeltas)$ 108>> 109 110 111SigPrimitiveTypeDelta(delta) ::= "from $delta.from$ to $delta.to$" 112 113SigTypeDelta(delta) ::= "from $ElementType(element=delta.from)$ to $ElementType(element=delta.to)$" 114 115SigTypeVariableReferenceDelta(delta) ::= << 116SigTypeVariableReferenceDelta: 117$delta$ 118>> 119 120SigTypeVariableDefinitionDelta(delta) ::= << 121$SingleSubDelta(desc="Upper Bound changed:", delta=delta.upperBoundsDelta)$ 122$SingleSubDelta(desc="Declaration changed:", delta=delta.genericDeclarationDelta)$ 123>> 124 125SigUpperBoundsDelta(delta) ::= << 126$SingleSubDelta(desc="First Upper Bound changed:", delta=delta.firstUpperBoundDelta)$ 127$MultiSubDelta(desc="Upper Bounds changed:", deltas=delta.remainingUpperBoundDeltas)$ 128>> 129 130SigWildcardTypeDelta(delta) ::= << 131$SingleSubDelta(desc="Lower Bound changed:", delta=delta.lowerBoundDelta)$ 132$SingleSubDelta(desc="Upper Bounds changed:", delta=delta.upperBoundDelta)$ 133>> 134 135SigAnnotationFieldDelta(delta) ::= << 136$SigFieldDelta(delta = delta)$ 137$SingleSubDelta(desc="Default value changed:", delta=delta.defaultValueDelta)$ 138>> 139 140SingleSubDelta(desc, delta) ::= << 141$if(delta)$ 142$desc$ 143<ul> 144 <li>$DeltaTypeSwitch(delta=delta)$</li> 145</ul> 146$endif$ 147>> 148 149 150