*/
@Override
public void loopStart(ParseStage stage, int loops){
- assert stage instanceof PmdMorphStage;
-
if(stage == PmdMorphHandler.MORPH_LIST){
ListUtil.prepareDefConsList(this.morphPartList,
MorphPart.class,
// NOTHING
}else if(stage == PmdMorphHandler.MORPHORDER_LIST){
// NOTHING
+ }else{
+ assert false;
+ throw new AssertionError();
}
return;
*/
@Override
public void loopNext(ParseStage stage){
- assert stage instanceof PmdMorphStage;
-
if(stage == PmdMorphHandler.MORPH_LIST){
if(this.morphPartIt.hasNext()){
this.currentMorphPart = this.morphPartIt.next();
// NOTHING
}else if(stage == PmdMorphHandler.MORPHORDER_LIST){
// NOTHING
+ }else{
+ assert false;
+ throw new AssertionError();
}
return;
*/
@Override
public void loopEnd(ParseStage stage){
- assert stage instanceof PmdMorphStage;
if(stage == PmdMorphHandler.MORPH_LIST){
// NOTHING
}else if(stage == PmdMorphHandler.MORPHVERTEX_LIST){
// NOTHING
}else if(stage == PmdMorphHandler.MORPHORDER_LIST){
// NOTHING
+ }else{
+ assert false;
+ throw new AssertionError();
}
return;
}