public static FieldDeclaration createFieldDeclaration(int modifiers, Type type, VariableDeclarator variable) {
        List<VariableDeclarator> variables = new ArrayList<VariableDeclarator>();
        variables.add(variable);
        FieldDeclaration ret = new FieldDeclaration(modifiers, type, variables);
        return ret;
    }
public static FieldDeclaration createFieldDeclaration ( int modifiers , Type type , VariableDeclarator variable ) { List < VariableDeclarator > variables = new ArrayList < VariableDeclarator > ( ) ; variables . add ( variable ) ; FieldDeclaration ret = new FieldDeclaration ( modifiers , type , variables ) ; return ret ; }
Creates a {@link FieldDeclaration}.

@param modifiers
modifiers
@param type
type
@param variable
variable declarator
@return instance of {@link FieldDeclaration}