public FieldImpl(final O parent, final Object internal, boolean copy)
{
init(parent);
if (copy)
{
VariableDeclarationFragment newFieldFragment = (VariableDeclarationFragment) internal;
FieldDeclaration newFieldDeclaration = (FieldDeclaration) newFieldFragment.getParent();
this.field = (FieldDeclaration) ASTNode.copySubtree(ast, newFieldDeclaration);
Iterator<VariableDeclarationFragment> fragmentsIterator = this.field.fragments().iterator();
VariableDeclarationFragment temp = null;
while (fragmentsIterator.hasNext())
{
VariableDeclarationFragment variableDeclarationFragment = fragmentsIterator.next();
if (newFieldFragment.getName().getFullyQualifiedName()
.equals(variableDeclarationFragment.getName().getFullyQualifiedName()))
{
temp = variableDeclarationFragment;
}
else
{