// Declared in VariableDeclaration.jrag at line 124 private FieldDeclaration rewriteRule0() { { FieldDeclaration decl = getVariableDecl(0).createFieldDeclarationFrom(getModifiers(), getTypeAccess()); decl.setStart(start); // copy location information decl.setEnd(end); // copy location information return decl; } }
// Declared in VariableDeclaration.jrag at line 135 private List rewriteTypeDecl_getBodyDecl() { { List varList = new List(); for (int j = 0; j < getNumVariableDecl(); j++) { FieldDeclaration f = getVariableDecl(j) .createFieldDeclarationFrom( (Modifiers) getModifiers().fullCopy(), (Access) getTypeAccess().fullCopy()); if (j == 0) f.setStart(start); else { f.getModifiersNoTransform().clearLocations(); f.getTypeAccessNoTransform().clearLocations(); } f.setFieldDecl(this); varList.add(f); } return varList; } }